Hello server enthusiasts,
I have a VPN (pptpd running on Ubuntu 10.04) that I am trying to connect to with a client (Win7).
I can successfully connect to the VPN.
Once connected to the VPN, I can ping both interfaces on the server (22.214.171.124 which is a public IP facing the internet, and the address used to connect to the VPN server (eth0), and 192.168.0.1 (ppp0)).
I cannot ping any other addresses from the Win7 client. IP forwarding is enabled server side.
I am having trouble adding a route via the windows route command.
Server: eth0 - 126.96.36.199 (facing internet), ppp0 - 192.168.0.1
Client: VMware Win7 ppp - 192.168.1.1
ipconfig on Win7 client:
Default Gateway: 0.0.0.0 IP: 192.168.1.1 Subnet: 255.255.255.255
I have tried
route ADD 192.168.0.1 255.255.255.255 192.168.0.1 route ADD 188.8.131.52 255.255.255.255 192.168.0.1 route ADD 192.168.0.1 255.255.255.255 192.168.1.1 METRIC 266
All fail, telling me that
Incorrect argument 192.168.1.1
Incorrect argument 192.168.0.1
There are also 2 metrics corresponding to these IP's in the tables that display as a result of
route print Which must be used?
I would appreciate if someone could shed light on how to add this particular route.
When adding routes, must I always specify a metric and/or interface? Is there anything unique about adding VPN based routes?
Thank you for reading.