OpenVPN not forcing the IPv6 traffic through the tunnel

Started by Fyroeo, November 29, 2020, 02:18:30 PM

Previous topic - Next topic
Hello everyone !
I made a OpenVPN server on my OPNSense 20.7.5 with the "Redirect Gateway" option activated.
But, as I can see, only the IPv4 traffic is being redirected. (when using traceroute6, it is going through my ISP)
It looks like that OpenVPN Connect is only told to redirect the IPv4 traffic according to the logs. (see the attached screenshot).

Do you know any way to enforce the IPv6 traffic to being redirected ?

Thanks !

Add this line to the advanced configuration section of your OpenVPN server:

push "route-ipv6 2000::/3"

Bart...

It works ! I'm sure your answer will help other people !

Thank you  :)