prasadasokan
Hi,
We have a Ubuntu server running OpenVPN Server with eth0 with IP 10.140.75.135 which is behind a firewall with a public IP in a remote location. The server directive uses 10.8.0.0/24 as provided by default. Now, I connect from another network with LAN range 10.1.5.0/24 using the public IP. I get tap adapters on both the sides with 10.8.0.1 on the server and 10.8.0.4 on the client. Now, I have IP forwarding enabled, and could reach the client machine with IP 10.1.5.107. Now, I understand, to reach other machines on the client subnet, I need to configure a route on the machines for 10.8.0.0/24 to use gateway as 10.1.5.107. Let us assume I do not want to add route to individual machines.
I did a NAT on my OSX using IPNetRouterX which translated all traffic from the OpenVPN server with address 10.8.0.1 as 10.1.5.107 and in that way, I was able to reach all client subnet machines. The same can be done using IPTABLES for linux and netsh nat on Windows XP. Is there a solution for me to do the same on Windows 7 machine?
Ideally, I still want to reach all client subnet, without adding a route or changing the gateway at the client network.