Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
OpenVPN "Force all client generated traffic through the tunnel." IPv4 only
« previous
next »
Print
Pages: [
1
]
Author
Topic: OpenVPN "Force all client generated traffic through the tunnel." IPv4 only (Read 9297 times)
netgeek
Newbie
Posts: 16
Karma: 0
OpenVPN "Force all client generated traffic through the tunnel." IPv4 only
«
on:
January 27, 2020, 12:19:04 am »
I'm running OpenVPN on 20.1-RC1. I select "Force all client generated traffic through the tunnel" in my OpenVPN Remote Access server config. I use the client export utility. I can connect fine from my laptop, and I get assigned a working IPv4 and IPv6 address. However, only the 0.0.0.0/1 and 128.0.0.0/1 routes through the VPN tunnel are added when I connect. No IPv6 routing table entries are made, and none of my IPv6 traffic goes over the VPN. Shouldn't ::/1 and 8000::/1 routes be added when I connect? If I manually add the routes on my laptop, it can access the internet fine over the IPv6 OpenVPN link, but by default, no IPv6 traffic goes over the tunnel.
Logged
bartjsmit
Hero Member
Posts: 2014
Karma: 194
Re: OpenVPN "Force all client generated traffic through the tunnel." IPv4 only
«
Reply #1 on:
January 27, 2020, 07:02:43 pm »
Not sure if it is the same with 20.1-RC1 (I'm not brave enough) but on 19.7 I've added this option under 'Advanced' in my OpenVPN server:
push "route-ipv6 2000::/3"
This allows the clients to access public IPv6 addresses through the tunnel. You can add any ULA ranges that you have on the server end, if required.
Bart...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
OpenVPN "Force all client generated traffic through the tunnel." IPv4 only