Here is a short note to explain how to create a VPN connection on a secondary line of a pfSense router. The creation itself is detailed here and here whether you want to create a connection for mobile users or a permanent site to site tunnel.
I recently upgraded my main line (WAN) with a simple Freebox has a fiber optic line. Free on my old line I configured a VPN connection for my mobile users and I wanted to switch to the new line that has more bandwidth. Technically I wanted to move the line of WAN OPT1 Free to retain in backup and use the fiber over the WAN. So I sent an email to my users explaining the changes to make in their VPN configuration file (new IP!) But I knew that some do not take into account ... My idea was to retain temporarily the former active VPN OPT1 for these people to continue to connect. For this it is very simple, I went in VPN> OpenVPN then I clicked on Edit my VPN connection. At the bottom of the configuration options in Custom options, I entered the following command:
local 192.168.8.2
192.168.8.2 is the IP associated with OPT1 in my configuration, you can find in your Interface> OPT1 and input IP address. It remains only to click on Save to apply the configuration. In this way UDP packets exchanged during a VPN connection will be routed to OPT1 well, allowing the establishment of a tunnel.
Tags: OpenVPN , pfSense , VPN










