Astrill Setup Manual:Setup OpenVPN on pfSense
STEP 1: Download OpenVPN Configuration File
Login into your Astrill account.
Then go to "VPN Services" tab.
Go to "OpenVPN Certificates" option.
Click on "Create new certificate".
Select your desired mode UDP-Fast OR TCP-Reliable and click on download icon in front of your any desired server.
STEP 2: Setup Certificates For OpenVPN
Login into pfSense through your browser
Go to System tab and click on Cert. Manager.
Select CAs tab and click on Add button.
Open that OpenVPN .conf file in notepad which you downloaded on step 1.
Copy the highlighted CA part from the notepad.
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.
Now go to Certificates tab and click on Add button.
Go to notepad again and copy CERT part like highlighted in screenshot below.
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.
Go to notepad and copy the KEY part as highlighted in screenshot below.
Paste the KEY in Private Key Data field and click on Save button.