Hello everyone,
I am having a problem with a VLAN. I was inspired by (the excellent) tutorial:
https://nguvu.org/pfsense/pfsense-baseline-setup/ (https://nguvu.org/pfsense/pfsense-baseline-setup/)
I have a client VPN (NordVPN) and I want to create a VLAN that distributes this VPN to machines on my LAN.
The VPN works correctly on the contrary the VLAN works but if I restart or make any backup of the interface it no longer works.
My steps to create the VLAN:
Starting :
(https://www.roj.fr/wp-content/uploads/2022/01/1_debut-e1642331275295.png)
I create a VLAN with an ID of 10:
(https://www.roj.fr/wp-content/uploads/2022/01/2_vlan_create-e1642331269621.png)
I assign an interface to this VLAN:
(https://www.roj.fr/wp-content/uploads/2022/01/3_create_interface-e1642331265166.png)
I create an Outbound rule that routes traffic to the NordVPN interface (connected OpenVPN interface)
(https://www.roj.fr/wp-content/uploads/2022/01/4_outbound_rules-e1642331253779.png)
I activate the DCHP:
(https://www.roj.fr/wp-content/uploads/2022/01/5_actived_dhcp-e1642331258745.png)
I authorize all traffic in IPV4 (we will see later to refine the rights):
(https://www.roj.fr/wp-content/uploads/2022/01/6_allow_traffic_ipv4-e1642331238365.png)
End:
(https://www.roj.fr/wp-content/uploads/2022/01/7_end-e1642331248716.png)
Everything works fine as long as I don't restart OPNSense for example but if i restart OPNSense, a pc on the vlan no internet work (dchp, addressing works).
I have the impression when I do a capture of the packets that the requests come out fine but on the return OPNSense no longer routes them.
Any help or advice is welcome,
Thank you in advance,