PPTP VPN Server issue : server = centOS & client = windows 7

Posted by jmassic on Server Fault See other posts from Server Fault or by jmassic
Published on 2012-03-22T00:45:51Z Indexed on 2012/03/22 5:31 UTC
Read the original article Hit count: 158

Filed under:
|

I have a CentOS server configured as a PPTP VPN Server.

The client is a Windows 7 with "Use default gateway on remote network" in advanced TCP/IPv4 properties enable. He can connect to CentOS without any problem and can access to:

  • The Box of his ISP (http://192.168.1.254/)
  • The CentOS server
  • The website which is hosted by the server (through http://)

But he canNOT access any other web service (google.com or 74.125.230.224)

I am a beginner with web servers so I do not know what can cause this problem.

  • Note 0 : The Windows 7 user must be able to access the whole internet through the CentOS PPTP proxy.
  • Note 1 : With "Use default gateway on remote network" in advanced TCP/IPv4 UNCHECKED it is the same problem
  • Note 2 : With "Use default gateway on remote network" in advanced TCP/IPv4 UNCHECKED AND "disable class based route addition" CHECKED the Win 7 can access google but with the ISP IP (no use of the VPN...)
    See Screenshot

  • Note 3 : I have made a echo 1 > /proc/sys/net/ipv4/ip_forward and a iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

© Server Fault 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