Table of Contents

, , , , , ,

simple site to site VPN with pfSense and OpenVPN

I just had to set up a simple site to site VPN between a site with a fixed IP (SITE-B) and a site with a dynamic IP (SITE-A). Both routers are running the ‘Community Edition’ of pfSense and are installed on PC Engines APU.1C4. I have followed the documentation at pfSense.org about how to configure a Site To Site VPN with OpenVPN to get the VPN up and running. Because some things aren’t documented there I will put up my own HowTo here. Please do yourself a favour and read the documentation at pfsense.org first because it explains things in more detail than I will do here.

This HowTo will guide you trough the setup of:

Sources

Configure the OpenVPN server on SITE-B router

You should now be forwarded to the list with your configured OpenVPN servers under ‘VPN – OpenVPN‘ on the ‘Servers‘-tab

Configure the OpenVPN client on SITE-A router

Proxy host or address: leave empty

      Proxy port: leave empty
      Proxy Auth. – Extra options: none
      Infinitely resolve server: ????
      Description: Set an appropriate description e.g. ‘Site_To_Site-SITE-A_SITE_B‘
  In the ‘Cryptographic Settings‘-section:
      Peer Certificate Authority: nothing to do here
      Peer Certificate Revocation list: nothing to do here
      Automatically generate a shared key: ☐ – This will display a form field in which you can paste the key from the SITE-B server configuration.

Go back to SITE-B router. If you haven’t left the window open, navigate to ‘VPN – OpenVPN‘ and select the ‘Servers‘-tab, click on the ‘Edit‘-button (the pencil) next to the server you have created earlier


~~DISCUSSION~~