5/18/2023 0 Comments Setting up pritunl dev![]() ![]() The added server will appear as below.Ĭlick on attach organization before you start the server. You can also check the enable Wireguard box and make the required configurations for Wireguard. You can as well choose to retain the defaults. You are required to provide the name, VPN and DNS to be used by the client. Once added, proceed and add the server in the Servers tab You also need to set a PIN to be by the user when connecting to the Pritunl VPN server. Now proceed and add the user and link them to the created organization as shown. Begin by adding an organization for the user. To add a user to the Pritunl VPN server, click on Users. On this board, you can add users, servers, and organizations. Once set, you will be granted the below dashboard. Once successfully authenticated, make the Pritunl initial settings that include changing the password and the IP address of the Pritunl server. Provide the generated credentials and sign in Generate the Pritunl VPN server login credentials. Save the database credentials to update the database. Now, copy the generated key and paste it to the web page as shown. The Pritunl VPN server is configured via the web interface accessed using the URL But first, obtain the authentication key to the MongoDB database. Sudo firewall-cmd -reload Step 3 – Configure Pritunl VPN server on Amazon Linux 2 Sudo firewall-cmd -zone=public -add-port=443/tcp -permanent If you have a firewall enabled, allow ports 80 and 443 through it: sudo firewall-cmd -zone=public -add-port=80/tcp -permanent Hint: Some lines were ellipsized, use -l to show in full. └─2966 /usr/lib/pritunl/bin/python /usr/lib/pritunl/bin/pritunl st.Īpr 13 09:52:25 vm_hostname systemd: Started Pritunl Daemon. Loaded: loaded (/etc/systemd/system/rvice enabled vendor preset: disabled)Īctive: active (running) since Wed 09:52:25 UTC 31s ago Process: 2967 ExecStartPre=/usr/bin/mkdir -p /var/run/mongodb (code=exited, status=0/SUCCESS) Process: 2968 ExecStartPre=/usr/bin/chown mongod:mongod /var/run/mongodb (code=exited, status=0/SUCCESS) Process: 2971 ExecStartPre=/usr/bin/chmod 0755 /var/run/mongodb (code=exited, status=0/SUCCESS) Process: 2975 ExecStart=/usr/bin/mongod $OPTIONS (code=exited, status=0/SUCCESS) Loaded: loaded (/usr/lib/systemd/system/rvice enabled vendor preset: disabled)Īctive: active (running) since Wed 09:52:36 UTC 21s ago sudo systemctl enable -now mongod pritunlĬheck if the services are running: $ systemctl status mongod pritunl Once the installation is complete, start and enable the MongoDB and Pritunl services. Once all the required repositories have been added, we will install the Pritunl VPN server and MongoDB on Amazon Linux 2 using the command: sudo yum install pritunl mongodb-org -y We will begin by adding the Pritunl repository on Amazon Linux 2 as below: sudo tee /etc//pritunl.repo key.tmp sudo rpm -import key.tmp rm -f key.tmp Step 2 – Install Pritunl VPN server on Amazon Linux 2 Let’s dive in and enjoy the awesomeness of this tool. There is also an optional two-step authentication with the Google authenticator. Improved security with all the traffic between clients and the server encrypted.REST API that makes it easy to integrate and configure Pritunl with other services.IPsec is used for site-to-site links and VPC peering ![]() Supports multiple Protocols – it can be used with both OpenVPN and WireGuard clients.This makes it easy to manage large environments with complex configurations. Easy to configure since all configurations are done on the web interface.Free to Use with no registration or credit card necessary.This allows complete transparency and customization. Open Source with all the source code publicly available on Github. ![]()
0 Comments
Leave a Reply. |