Works perfectly. Thank you!Yes. Once the client vpn is configured and up and running you can set 192.168.1.0/24 to TUN. Then you add an additional entry to for the ip of the client you want routed through WAN.
Under the lower portion of the client you select Force Internet traffic through tunnel set this to strict. After that it will open up the section where you enter your ip address that you want to route through tun or wan. The section you edit is Rules for routing client traffic through the tunnel (Max Limit : 100). It is in the gui. Works quiet well.
Works perfectly. Thank you!
Bonus question: If i occasionally want to change that one destination IP (or perhaps, if easier, add more exception IPs) without having to open the GUI, but preferrably run a script or something from my computer (debian). Is that possible?
View attachment 30124
Yes.Works perfectly. Thank you!
Bonus question: If i occasionally want to change that one destination IP (or perhaps, if easier, add more exception IPs) without having to open the GUI, but preferrably run a script or something from my computer (debian). Is that possible?
View attachment 30124
ip rule
ip rule add from 10.0.0.0/24 to xxx.xxx.xxx.xxx table main prio 1010x
Yes, and traffic (from any client) to any other IP should be routed through the vpn.Never mind I think this is right.
You want all your clients access to that ONE ip address via the wan port ?
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!