VPN and switching routes

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
vel
Posts: 3
Joined: Thu May 27, 2010 10:27 am

VPN and switching routes

Post by vel »

Hi
I am on Gargoyle 1.7.2 and would like to set up VPN client on it (to use IPVanish) but only for some IPs and "on demand".
Here is a scenario how an ideal solution would work:
1. Router is connected all the time to the VPN, but no traffic from any LAN device goes through it
2. Using something like http://routerip/vpnon, routing for the preconfigured IPs change, so the traffic from these now flows through VPN
3. After http://routerip/vpnoff, everything is back to 1.
I understand http://routerip/vpn(on/off) might be hard to implement (is it?), ssh and running shell cmd would be fine too for the start.
Any help is appreciated, searching through forum I've found doritos was doinng something simillar, but almost 4 years ago, so I am not sure that would be a way to go.
Thanks,
Vel

Post Reply