Routing only some local IPs through VPN on dd-wrt
Posted
by bo-inge-ostberg
on Server Fault
See other posts from Server Fault
or by bo-inge-ostberg
Published on 2010-04-01T08:50:43Z
Indexed on
2010/04/01
8:53 UTC
Read the original article
Hit count: 475
Much similar to this entry: http://serverfault.com/questions/94283/using-dd-wrt-to-connect-to-vpn-and-forward-all-traffic-of-certain-devices-through , I have set up my router with dd-wrt + OpenVPN to connect to a VPN. This works fine, and all traffic from behind the router goes through the VPN.
How do I route(?) traffic in the router so that only certain IPs from the LAN will go through the VPN, while the others take the "normal" route? Is it also possible to allow traffic from certain local IPs to go ONLY through the VPN, making it impossible for them to use the regular internet connection if the VPN is down?
I know this question was answered in the post I linked to, but that just doesn't seem to work for me. The routing table and rules change, but traffic still just goes through the VPN.
© Server Fault or respective owner