Introduction
Can access the office network throw Internet safely and securely from remote location
via laptop.
via laptop.
OpenVPN is a full-featured open source Secure Socket Layer (SSL) VPN solution that
accommodates a wide range of configurations. In this tutorial, we'll set up an OpenVPN
server on a Droplet and then configure access to it from Windows, OS X, iOS and Android.
This tutorial will keep the installationand configuration steps as simple as possible for
these setups. for more information and support please
accommodates a wide range of configurations. In this tutorial, we'll set up an OpenVPN
server on a Droplet and then configure access to it from Windows, OS X, iOS and Android.
This tutorial will keep the installationand configuration steps as simple as possible for
these setups. for more information and support please
The OpenVPN server can be setup by the built-in wizard.
- Click
VPN
>OpenVPN
and click on theWizards
tab. - You will be instructed to select an Authentication Backend Type. Click
Next
to accept the default of 'Local User Access'. - Now we will need to create a New Certificate Authority (CA) Certificate. Set the descriptive name to 'pfSense-CA'.
- Leave the key length at 2048 bit and the lifetime at 3650 days.
- The remaining parameters are to identify the person or organization controlling this certificate authority. Set them appropriately for your situation.
- Click
Add new CA
to move on to the server certificate. - Set the descriptive name to server and keep the key length as 2048 bits and lifetime as 3650 days.
- The person / institution information will already be filled from the previous page. Leave it as it is.
- Click
Create new Certificate
. - On the next page, in the General OpenVPN Server Information section, set the Description to 'server'.
- In the Cryptographic Settings section deselect the TLS Authentication.
- Leave the Encryption Algorithm as 'AES-256-CBC (256 bit key, 128 bit block)'.
- In the Tunnel Settings enter the Tunnel Network address as 10.8.0.0/24.
- To allow access to machines on the local network, enter your local IP range in the Local Networksetting. It will probably be something like 10.0.0.0/24.
- Set the Compression to 'Enabled without Adaptive Compression'.
- Check the Inter-Client Communication checkbox.
- In the Client Settings section, set the DNS Server 1 to point to the OpenVPN server (10.8.0.1).
- In the Advanced text box, add the line:
push "route 10.0.0.0 255.255.255.0";mute 10;comp-lzo;
- where we assume your LAN subnet is 10.0.0.0/24. Adjust it accordingly.
- We can leave the remaining settings as they are and click
Next
below. - Now accept the default firewall rules by checking both the Firewall Rule and OpenVPN rule boxes and clicking
Next
. These rules will allow your client to connect to the OpenVPN server and allow VPN traffic between the client and server. - You will now be shown a completion screen. Click
Finish
. - Click the edit icon next to the server row to edit the configuration.
- In the General Information section, change the Server Mode to 'Remote Access ( SSL/TLS )'.
- Press
Save
to save these changes.
You have now created the server certificate. Before we move on, we need to modify a few settings that were not covered in the wizard.
Regards,
N.Aravinth
0094773399054
aragetride@gmail.com
Coronavirus and remote working | Free VPN access to office | Are you exploring or enabling remote working due to the coronavirus? Please contact US +94-773399054.
ReplyDelete