We have a simple pptp setup on our windows 2k3 server. So far all clients can connect just fine, mac and windows.

However I tried connecting an ubuntu server using pptp and the connection is fine I get an IP. From the 2k3 server I can ping the remote ubuntu server and vice versa. However, I cannot ping other machines on the LAN local to the VPN Server. <--Edited in response to Zoredache

I'm not sure if I have something misconfigured somewhere. Anyone have any experience with pptp on Ubuntu Server?

Maybe something I need to set up routing after connecting?

Under the win2k3 policies we just have a usergroup of users able to access the VPN and other machines on the NET. The user connecting is part of that group.

Update in response to questions below:
Output of route before connecting vpn

In response to Zoredache:
I don't need LAN machines on the VPN servers side to access anything but the remote ubuntu pptp client. On the Ubuntu machine's LAN, other machines don't need to access it.

Have you enabled the ppp option to set the tunnel as the default gateway in the pptp client?
I'm looking where to enable that option. I'm using pptp 1.7.0

Another Update
After conntecting via VPN, on the Ubuntu server I ran:route add default gw 192.168.1.1 and got back SIOCADDRT: No such process. 192.168.1.1 is the router on the LAN local to the VPN server.

2 Answers
2

What are you using for a pptp client on Ubuntu? Have you enabled the ppp option to set the tunnel as the default gateway in the pptp client? When the VPN is enabled on the Ubuntu server do it still need to be usable from the network that is local to the Ubuntu server? If so you won't want to set the VPN as a default gateway and you will probably want to statically define a route.

However, I cannot ping other machines
on the local LAN.

Which local lan are you talking about? Are you talking about the lan local to the Ubuntu server, or the lan local to the VPN server?

If you need clients that are on the same network as the VPN server to be able to access other hosts on the Ubuntu server's lan you will need to add a route on both sides. You will also need to have address space that doesn't conflict between the two networks.

Thank you for pointing me in the right direction. The key was to add the folowing route add default gw 192.168.1.xxx after the vpn connection was established. xxx being our VPN servers IP. Thank you!
–
shaissOct 1 '09 at 18:32