3

I've installed pptpd on an ubuntu 10.4 box and configured it like this:

localip: 192.168.1.11 (the pptpd server) remoteip: 192.168.1.150-199

I've also added a user and added the following line to /etc/rc.local: iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

and also edited /etc/sysctl.conf to enable ip forwarding.

I can browse the web using this VPN and can ping the 192.168.1.11 server. Whenever I try to connect to another host on the same network (for example 192.168.1.200, a webserver) it fails and ping times out.

Anyone an idea how I can access the other local network computers using vpn? Any help is appreciated!

kimausloos
  • 67
  • 7

1 Answers1

1

I'm thinking that the LAN where the client is connecting from is using the same subnet as the LAN where the pptp server is, typically 192.168.1.0/24. If it is then that's the problem. The solution would be to use a different subnet on the client side or the server side.

joeqwerty
  • 111,849