I have created a vpn server. connect with firewall disabled work fine.
Using the wizard, it creates the firewall rules for me, but they don't work.
If I put pfctl -d in the shell (firewall disabled), the vpn works correctly.
reviewing the logs I detect that the vpn only accesses via ipv6, even though ipv6 is disconnected, or ipv4 is over ipv6 in general settings.
if into vpn server device mode put tun, all vpn client use ipv6 but i want to use ipv4.
is this a bug?, can i connect with ipv4?.
thanks
Hi Anakein,
What are your firewall rules voor your openVPN interface?
You need to put an rule in that says your vpn network (when following the default setup i think it is 10.8.6.*) can look in de destination network, and if you want to let it connect trough your wan you need to give it some more speficied settings.
i used this example:
https://docs.opnsense.org/manual/how-tos/sslvpn_client.html
i have standard rules for vpn ( following how-to)
but don“t connect.
is fixed.
The problem was that the WAN interface had a dynamic IP. And could not connect, when changing to a fixed ip, everything works perfectly.