Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got OpenVPN client running on What I'd like to do is route all the traffic from the second computer with via OpenVPN client that's running on the first computer. My router ip is

Network topology:

Windows computer with OpenVPN client:
Windows computer whose traffic has to be rerouted:

I want it to work in the following way: computer => computer => OpenVPN =>

How can I achieve that by only modifying windows' routing table? I've tried entering the following into windows shell(on computer without VPN), which didn't work (it just dropped my internet connection):

route delete mask
route add mask

Should I also setup the computer that has OpenVPN client running?

Does it have anything to do with windows tcp forwarding?


share|improve this question
Why don't you just setup an VPN connection to OpenVPN from ? – HackToHell Mar 26 '12 at 14:20
Because that's an OpenVPN client that's installed on, it's not a server. Only should connect to the internet and I want it to act as sort of a proxy. I was able to achieve what I want by installing an http proxy service on, however I want not only http to be forwarded - I want all of the traffic to be forwarded. – Ilya Suzdalnitski Mar 26 '12 at 14:32
Any suggestions? Does it have to do anything with "TCP forwarding" on windows? – Ilya Suzdalnitski Mar 26 '12 at 16:24
You could use ICS. – HackToHell Mar 27 '12 at 3:40

You must log in to answer this question.

Browse other questions tagged .