What's new

OpenVPN with static key for all local network clients

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Andreas Gohr

New Around Here
I'm trying to setup my router running the AsusWRT-Merlin firmware as an OpenVPN client. The VPN is a simple static key based one to my root server. The goal is to have all traffic from my local net to be routed through the VPN.

Under VPN -> OpenVPN Client I set up the configuration for connecting to my server using the local/remote endpoints of 192.168.42.2/192.168.42.1 and set Redirect Internet Traffic to All Traffic. The VPN is up and running, but my traffic is not routed through the VPN.

System Log - Routing Table shows the following:

Code:
Destination        Gateway          Genmask            Flags    Metric    Ref    Use  Iface
192.168.42.1       *                255.255.255.255    UH       0         0      0    tun11
100.74.255.254     *                255.255.255.255    UH       0         0      0    WAN
192.168.1.0        *                255.255.255.0      U        0         0      0    LAN
100.74.192.0       *                255.255.192.0      U        0         0      0    WAN
default            100.74.255.254   0.0.0.0            UG       0         0      0    WAN

As you can see the VPN TUN interface is up correctly, but all traffic is still routed through 100.74.255.254 which is my current cable modem IP.

Question is how/where to configure that all local network traffic goes through the VPN?

Screenshots of my settings can be seen here: https://imgur.com/a/ci6QO
 
I tried that too, but it changes absolutely nothing. Routes are the same and traffic still does not go through the VPN.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top