What's new
  • 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!

[Solved] How to redirect internet traffic of only one client through VPN

Eleos

New Around Here
Hi,
Like the title says, I want to redirect the traffic from only one client of my network through the OpenVPN client on my router (The others doesn't pass through), but I don't know how to do this.

I've tried everything in the policy routing rules on the OpenVPN Client Setting page, but it doesn't work

I don't know what to put in "Source IP", "Destination IP", "Iface"

1450553018-capture-du-2015-12-19-20-23-10.png


I want to set up this configuration (the wiki isn't very clear...) :

MyClient (IP = 192.168.0.1) ---> VPN (Server IP = 42.42.42.42) ---> Internet
TheOthers (192.168.0.X) ---> My ISP (IP = 128.128.128.128) ---> Internet

Thanks in advance
 
Last edited:
Source is the NAS, destination is empty or 0.0.0.0, and iface is VPN.

You might want to remove route-nopull from the custom section.
 
Hi,
Like the title says, I want to redirect the traffic from only one client of my network through the OpenVPN client on my router (The others doesn't pass through)

I wish I could do by app and not by machine... just uTorrent and Popcorn Time really.

How'd it work?
 
I wish I could do by app and not by machine... just uTorrent and Popcorn Time really.

How'd it work?
Personally,

I've a NAS on Debian on which there are a P2P client (Transmission-daemon)
So to not do routing on my NAS, because it's very complex/buggy with transmission, I've decided to do this with the router. It works whatever the client you use, because all the traffic is routed through the VPN by the router
 

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!

Members online

Back
Top