View Full Version : [ubuntu] problems with vpn via pptpd

September 23rd, 2008, 09:40 PM

I am using ubuntu server 8.04

I have set up pptpd

Using the following settings

ms-dns IPS Nameserver
ms-dns IPS Nameserver

added a user in

carried out a
echo 1 > /proc/sys/net/ipv4/ip_forward

I can connect ok from my Windows XP PC

it shows the following settings
Device Name WAN Miniport (PPTP)
Device Type vpn
Server Type PPP
Transports TCP/IP
Authentication MS CHAP V2
Encryption MPPE 128
Compression (none)
PPP Multilink frm Off
Server IP
Clent IP

On the server
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface * UH 0 0 0 ppp0
localnet * U 0 0 0 eth0
default UG 100 0 0 eth0

:/var/log# ping
PING ( 56(84) bytes of data.

--- ping statistics ---
11 packets transmitted, 0 received, 100% packet loss, time 10005ms

I get a message to say I can connect ok

But - I can not ping the server

From the server I can not ping the PC

Also when I connect I lose connectivity to the web on my pc

Any suggestions



January 17th, 2009, 08:02 PM
On your PC, go to the VPN connection in Network Connections. Right click and select Properties. Go to the TCP/IP section and go to Advanced. Remove the (default) tick in the box for "Use server as default gateway" or similar. I can't remember the exact wording and I'm not near an XP box - sorry! It should be obvious, though.

Disconnect / reconnect and you'll certainly have your internet back. With the tick in the box, the PC routes all web access down your VPN...