Difference between revisions of "Astrill Setup Manual:Setup OpenVPN on pfSense"

From Astrill Wiki
Jump to navigation Jump to search
Line 35: Line 35:
 
----
 
----
  
== '''STEP 2:''' Setup OpenVPN on Your pfSense ==
+
== '''STEP 2:''' Setup Certificates For OpenVPN ==
  
 
=== Login into pfSense through your browser ===
 
=== Login into pfSense through your browser ===
Line 67: Line 67:
 
----
 
----
  
Write a '''descriptive name''' and select '''Import an existing certificate authority''' from method option and paste the '''CA''' in '''Certificate Data''' field.
+
Write a '''descriptive name''' and select '''Import an existing certificate authority''' from method option and paste the '''CA''' in '''Certificate Data''' field and click on '''Save''' button.
  
 
[[File:PfSense-openvpn12.png]]
 
[[File:PfSense-openvpn12.png]]
 
----
 
----
 
----
 
----
 +
 +
Now go to '''Certificates''' tab and click on '''Add''' button.
 +
 +
[[File:PfSense-openvpn13.png]]
 +
----
 +
----
 +
 +
Go to notepad again and copy '''CERT''' part like highlighted in screenshot below.
 +
 +
[[File:PfSense-openvpn14.png]]
 +
----
 +
----
 +
 +
Select '''Import an existing Certificate''' from method option and type same '''descriptive name''' like you did in previous step and paste the CERT in '''Certificate Data''' field.
 +
 +
[[File:PfSense-openvpn15.png]]
 +
----
 +
----
 +
 +
Go to notepad and copy the '''KEY''' part as highlighted in screenshot below.
 +
 +
[[File:PfSense-openvpn16.png]]
 +
----
 +
----
 +
 +
Paste the KEY in '''Private Key Data''' field and click on '''Save''' button.
 +
 +
[[File:PfSense-openvpn17.png]]<br><br>
 +
----
 +
----
 +
 +
== '''STEP 3:''' Setup OpenVPN Client on pfSense ==

Revision as of 12:40, 13 July 2020

STEP 1: Download OpenVPN Configuration File

Login into your Astrill account.

PfSense-openvpn1.png


Then go to "VPN Services" tab.

PfSense-openvpn2.png


Go to "OpenVPN Certificates" option.

PfSense-openvpn3.png


Click on "Create new certificate".

PfSense-openvpn4.png



PfSense-openvpn5.png



PfSense-openvpn6.png



Select your desired mode UDP-Fast OR TCP-Reliable and click on download icon in front of your any desired server.

PfSense-openvpn7.png



STEP 2: Setup Certificates For OpenVPN

Login into pfSense through your browser

PfSense-wireguard4.png



Go to System tab and click on Cert. Manager.

PfSense-openvpn8.png



Select CAs tab and click on Add button.

PfSense-openvpn9.png



Open that OpenVPN .conf file in notepad which you downloaded on step 1.

PfSense-openvpn10.png



Copy the highlighted CA part from the notepad.

PfSense-openvpn11.png



Write a descriptive name and select Import an existing certificate authority from method option and paste the CA in Certificate Data field and click on Save button.

PfSense-openvpn12.png



Now go to Certificates tab and click on Add button.

PfSense-openvpn13.png



Go to notepad again and copy CERT part like highlighted in screenshot below.

PfSense-openvpn14.png



Select Import an existing Certificate from method option and type same descriptive name like you did in previous step and paste the CERT in Certificate Data field.

PfSense-openvpn15.png



Go to notepad and copy the KEY part as highlighted in screenshot below.

PfSense-openvpn16.png



Paste the KEY in Private Key Data field and click on Save button.

PfSense-openvpn17.png



STEP 3: Setup OpenVPN Client on pfSense