OpenVPN: with Redirect IPv4 Gateway no access to LAN
-
In
VPN/OpenVPN/Servers/Edit/Servers/Tunnel Settings
If I select the Redirect IPv4 Gateway check box, the IPv4 Local network (s) field is not displayed.
By doing so I cannot specify which networks that will be accessible from the remote endpoint. -
@whitetiger-it
Both options prompt the client to add routes pointing to the server.When you add subnets into "Pv4 Local network (s)" box, the client adds routes for the stated subnets.
When you check "Redirect IPv4 Gateway" the client adds the default route, which means any IP address outside its subnet is routed to the server.
So there is no need to add any additional route for specific remote subnets at all. You should be able to access the LAN network with this option anyway. -
I faced with similar issue recently
-
With the Wizard there are two fields.
Instead, if the server is created, then if the checkbox is ON, the Tunnel Network field disappears.