To configure the L2 VPN tunnel via OpenVPN on pfSense, refer to our tutorial "pfSense 2.6 - Create a site-to-site (S2S) VPN tunnel via OpenVPN secured with SSL/TLS (L2 mode)".
Warning : the network used by your virtual machines is the "VMS_LAN" network on pfSense. It is therefore this "VMS_LAN" interface that you will need to use instead of the "LAN" interface mentioned in the tutorial above for creating your L2 VPN tunnel via OpenVPN.
Once the L2 VPN tunnel via OpenVPN is created between your pfSense machines, you will have this.
On the Brussels site:
On the remote site (Paris in our case), you will find the same thing.
The only difference is that the "OPENVPN_L2" interface this time corresponds to the logical interface assigned to the virtual network interface (ovpnc1) corresponding to the OpenVPN client configured on pfSense in "tap" mode (L2).
By default, the pfSense firewall is configured to allow network traffic coming from the LAN network.
This allows your computers connected to the LAN network to access the network and the Internet (in IPv4 and IPv6).
But, since you added a 2nd network interface (VMS_LAN) for your future virtual machines' network, network traffic will be blocked by default.
To resolve the problem, go to "VMS_LAN" and click: Add.
Allow IPv4 network traffic (regardless of the protocol) on the "VMS_LAN" interface (which corresponds to the network of your future VMs).
Click Save.
Click: Apply Changes.
The rule was created for IPv4.
Click "Add" again.
Create a similar rule for IPv6:
Click Save.
The rule for IPv6 has been created.
Create the same rules on the remote site for IPv4 and IPv6 for the "VMS_LAN" interface.
Note: the firewall rule to allow DHCP traffic is only present on the remote site (see OpenVPN L2 tutorial on pfSense cited previously).
VMware 5/19/2023
VMware 11/16/2022
VMware 8/24/2022
VMware 7/10/2024
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
No comment