Gateway IP for eth0 and gateway IP for pptp vpn are same
- by user286630
My problem is..
1) I'm using laptop at school.
2) In school, the default gateway for ethernet is 192.168.1.1.
3) I want to connect to a pptp vpn server. The gateway over the vpn connection is also 192.68.1.1. (The VPN server assigns 192.168.100.1 to my laptop and I confirmed that it is not used in school.)
In this situation, there is no problem in Windows 7. I think it is enough smart to distinguish two different gateways with the same IP. All connection requests may be forwarded to the vpn gateway.
But, in Ubuntu, I cannot access a file server in the remote site. I guess every connection request is forwarded to the ethernet gateway.
How can I send all connection requests to the vpn gateway whose IP is same as the ethernet gateway?