Dear all,
I am trying to set up an OpenVPN Server on my AX82 router allowing clients to connect either full-tunnell (all LAN + WAN access tunneled through the VPN) or split-tunnell (only LAN access through the VPN).
Previously I hosted my OpenVPN server on another device, and this OpenVPN server config did not push the default gateway to the clients.
Therefore, on the client config I had the option to include redirect-gateway def1 to route internet traffic through the VPN, and exclude it to only route LAN traffic.
How can I achieve the same setup on my Asus merlin server config?
I already found one workaround, but it's not as neat because it forces me to define all subnets I want to access through the NAS in the client config files:
Any help would be appreciated!
I am trying to set up an OpenVPN Server on my AX82 router allowing clients to connect either full-tunnell (all LAN + WAN access tunneled through the VPN) or split-tunnell (only LAN access through the VPN).
Previously I hosted my OpenVPN server on another device, and this OpenVPN server config did not push the default gateway to the clients.
Therefore, on the client config I had the option to include redirect-gateway def1 to route internet traffic through the VPN, and exclude it to only route LAN traffic.
How can I achieve the same setup on my Asus merlin server config?
I already found one workaround, but it's not as neat because it forces me to define all subnets I want to access through the NAS in the client config files:
Code:
route-nopull # Prevent the default route from being pushed
route 192.168.0.0 255.255.255.0 # Route the LAN through the VPN
Any help would be appreciated!