RT-N66U
Firmware:378.55
OpenVPN
br0 - Regular Cable (US)
Client 1 - tun11 - VPN to Endpoint1
Client 2 - tun12 - VPN to Endpoint2
Client 1 is setup with policy based routes for my server to use.
Client 2 is setup for policy based routes, but I have no entries.
The rest of my LAN should be using the standard internet connection.
My objective is to route only specific IP ranges out of my LAN through Client 2.
For testing purposes, I used http://ipleak.net (54.164.36.190) to show my IP address.
When I enter:
I am able to browse to the site from anywhere on my lan and get my VPN ip address. The strange thing is that if I execute a traceroute, it times out as soon as it hits my routers internal ip.
If I set Client 2 to handle all traffic (through merlin), the traceroute executes without missing a hop.
I read some other solutions that call for using IPtables to mark the packets, but I'm not sure how that would translate into a situation with 2 tun adapters up at the same time.
Is anyone doing something similar?
Thanks
Firmware:378.55
OpenVPN
br0 - Regular Cable (US)
Client 1 - tun11 - VPN to Endpoint1
Client 2 - tun12 - VPN to Endpoint2
Client 1 is setup with policy based routes for my server to use.
Client 2 is setup for policy based routes, but I have no entries.
The rest of my LAN should be using the standard internet connection.
My objective is to route only specific IP ranges out of my LAN through Client 2.
For testing purposes, I used http://ipleak.net (54.164.36.190) to show my IP address.
When I enter:
Code:
ip rule add to 54.164.36.190 lookup 112
ip route add 54.164.36.190 table 112 dev tun12
I am able to browse to the site from anywhere on my lan and get my VPN ip address. The strange thing is that if I execute a traceroute, it times out as soon as it hits my routers internal ip.
If I set Client 2 to handle all traffic (through merlin), the traceroute executes without missing a hop.
I read some other solutions that call for using IPtables to mark the packets, but I'm not sure how that would translate into a situation with 2 tun adapters up at the same time.
Is anyone doing something similar?
Thanks
Last edited: