Redirecting all traffic through the tunnel
-
I have a question about how to properly setup OpenVPN in my pFsense box.
When i check/enable “Force all client-generated IPv4 traffic through the tunnel”, the option to define the “IPv4 Local networks” just disappears.
Without this last option, how can I specify which local networks are reachable by VPN clients?
Don't get me wrong, it's currently working, i just don't understand why or how.
Am I overthinking an non-issue again?
-
@lrossi said in Redirecting all traffic through the tunnel:
When i check/enable “Force all client-generated IPv4 traffic through the tunnel”, the option to define the “IPv4 Local networks” just disappears.
Both options only add routes on the client pointing to the virtual server IP.
The first one adds the default route, the latter adds routes for each specified network.If the client route its whole traffic destined to outside its network to the server, this includes all local network as well, of course. So there is no need to state these additionally.
-
@viragomann thanks for the clarification.
There you have it, i was indeed overthinking it.