Gateway IP for eth0 and gateway IP for pptp vpn are same

Posted by user286630 on Ask Ubuntu See other posts from Ask Ubuntu or by user286630
Published on 2014-05-29T21:28:32Z Indexed on 2014/05/29 21:59 UTC
Read the original article Hit count: 412

Filed under:
|
|

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?

© Ask Ubuntu or respective owner

Related posts about vpn

Related posts about pptp

  • problem with network-manager-pptp

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I've a problema with the VPA CAble connection of my university... on the website of the university there's a .sh file that set all the variables of the connection in ETC/PPP/PEERS and another .sh file that call the connection...I'm on ubuntu 11.10 and when I run the setup.sh I have this error: impossible… >>> More

  • Can't connect to VPN on Ubuntu 12.04

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I'm having a lot of trouble connecting to VPN. This used to work on my machine, but i recently did an update and it's stopped working. I'm not sure what the problem is. My question is how do i debug this? I'm not able to narrow it down to a specific problem. This is what i get when i tail the syslogs… >>> More

  • VPN in Ubuntu fails every time

    as seen on Super User - Search for 'Super User'
    I am trying to setup a vpn connection in Ubuntu 10.04 to use the service from relakks.com I used the network manager to add the vpn connection and the settings are: Gateway: pptp.relakks.com Username: user Password: pwd IPv4 Settings: Automatic (VPN) Advanced: MSCHAP &… >>> More

  • VPN in Ubuntu fails every time

    as seen on Super User - Search for 'Super User'
    I am trying to setup a vpn connection in Ubuntu 10.04 to use the service from relakks.com I used the network manager to add the vpn connection and the settings are: Gateway: pptp.relakks.com Username: user Password: pwd IPv4 Settings: Automatic (VPN) Advanced: MSCHAP &… >>> More

  • PPPTP VPN from Ubuntu cannot connect

    as seen on Super User - Search for 'Super User'
    I'm trying to configure under Linux (Kubuntu 9.10) a VPN I already use from Windows. I installed the network-manager-pptp package and added the vpn under Network Manager. These are the parameter under "advanced" button: Authentication Methods: PAP, CHAP, MSCHAP, SMCHAP2, EAP (I tried also with MSCHAP… >>> More