Hi David,
I hope you’re doing well,
There are two things to configure, both on the server router:
- Tell the client to route its traffic through the VPN
Go to Services → VPN → OpenVPN and edit your server instance. Find the Push option field and add the following:
redirect-gateway def1
dhcp-option DNS 8.8.8.8
The first line is what redirects the client’s default internet route into the tunnel. The DNS line is there so the client can still resolve hostnames once its traffic is going through the server. Save & Apply, then restart the OpenVPN instance so the client picks up the new settings.
For more information, please refer to this wiki article:
- Allow the server to forward that traffic out to the internet
This is the part that hasn’t been configured yet, and without it the traffic will arrive at the server but go nowhere. Go to Network → Firewall → Zones, find the vpn zone, click Edit, and under “Allow forward to destination zones” tick wan, enable masquerading on the VPN zone and click Save & Apply.
That’s what allows the server’s NAT to take the client’s traffic and send it out through the mobile WAN interface under the server’s public IP.
To confirm it’s working, connect a device to the client router’s LAN and check its public IP at https://www.whatismyip.com - it should now show the server’s static IP. If you only have CLI access, running curl ifconfig.me on the client router will do the same job.
On your second question about client isolation - by default, OpenVPN on RutOS does not allow clients to reach each other, so you may already be fine there. Just make sure Client to Client is not enabled in the server configuration. You can double-check by trying to ping from one client LAN to another - if it doesn’t respond, isolation is working as expected.
For more information, please refer to this wiki article:
Both firmware versions you’re running (RUT9M_R_00.07.22 on the server and RUT9M_R_00.07.21.3 on the client) are current, so no updates needed on that front.
Let us know how the IP check goes after applying the changes. If something doesn’t look right, share a screenshot of the Push options field and the Firewall Zones page.
Best regards,
V.