Published on November 11th, 2018 | by admin

0

Setting up a VPN

A VPN is a type of network security capable of encrypting the connection from an endpoint to a network, mostly over the Internet. If you want to encrypt a connection from and endpoint to a network over the Internet, VPNs offer this type of network security. This means that any information passing between the two ends of the connection can’t be seen by an adversary, also you can learn more about what is a VPN using resources online for this. By default, a VPN can only encrypt a single connection. You can add more connections to a VPN connection by adding the ‘-p’ option to the end of the ‘route’ command.

In our example, we’re going to use an OpenVPN server to connect to the internal server, and a VPN to connect to the external server. Let’s start by connecting to the OpenVPN server.

$OpenVPN-Server -p 1.2.3.4

Next, we’ll connect to the external server.

$OpenVPN-Server -p 443

Now, we can verify if the OpenVPN server is talking to the correct external IP address:

$ifconfig

You should see the following output.

Your IP address is: 192.168.1.120.

Now, let’s check if OpenVPN is talking to the correct OpenVPN server. # OpenVPN server is talking to the right server $OpenVPN-Server -p 443 -o tun1:0 If it is, then everything should be working!

Troubleshooting

Some users will have issues connecting to a VPN server. If you get any errors such as “failed to connect to the VPN server”, then you can use the following steps to try and resolve these problems:

First, we’ll check that you are using a proper version of the VPN client. If you get errors such as “Bad SSL certificates”, then you need to update your client. For more information on how to update a VPN client, see the following links: http://help.openvpn.net/en/VPNUpdater.html http://help.openvpn.net/en/GuidetoUpdatingYourOpenVPNClient.html When you are sure you are using the latest version of the VPN client, we would suggest upgrading to the latest version of OpenVPN before you begin this guide.

Step #1: Select the ‘Configure VPN’ option under Settings on the Client

You can find the ‘Configure VPN’ option under Settings. Select it and click on the blue ‘Configure VPN’ button on the top right.

Step #2: Enter your credentials when prompted

Enter your username and password when prompted. If you are using multiple accounts, this will be different for each account.

Important: Make sure that you enter the credentials exactly as they are written. For example, if you have ‘Password123’ as your username and ‘Password’ as your password, you should enter those two exactly as they are written in the instructions. If you want a more secure setup, be sure to use more than one username and password combination.

Step #4: Enter your connection information When prompted, enter the name of your local network interface and press enter. You may need to enter the IP address of your modem.

Once you enter your username and password, click the ‘Go’ button to start the connection.

When your connection is done, you will see the following message “Your connection is ready” at the bottom of the screen. Your modem may be a little slow. If it isn’t, try restarting your computer. If that doesn’t help, try using a more modern device for this.


About the Author

Avatar



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to Top ↑