simplicity Posted November 25, 2012 Share Posted November 25, 2012 (edited) I'm having a problem that has been causing me great distress and I'm putting a 10 dollar paypal bounty on it, 15 dollars for a quick fix (if this is permitted, apologies if it is not). I want to setup my own VPN server. My server is an Ubuntu 10.04 Server. The VPN server is pptpd. I want clients of all kinds (Win, Linux, Mac, etc) to be able to connect. Here's the kicker. My server is connected directly to the internet via eth0. There is no router between it and the internet. All the tutorials I've found have been for machines behind routers. All of the tutorials seem to be variants of this one (http://blog.riobard....p-vpn-on-ubuntu) Setup - Server: Ubuntu 10.04 eth0 - 22.214.171.124 (this is a public IP facing the internet) ppp0 - 192.168.0.1Client: Windows 7 ppp - 192.168.0.2 Default Gateway (ppp) - 0.0.0.0[/CODE]/etc/pptpd.conf (this is only the important part, let me know if you'd like to see it all) -[CODE]localip 126.96.36.199remoteip 192.168.0.1-30[/CODE]IP forwarding/masquerading is enabled on the server.When the Win7 client connects, the connection succeeds.The Win7 client can ping 192.168.0.1 and 188.8.131.52 fine while connected. It can ping nothing else, not 184.108.40.206 nor any machines on the 220.127.116.11/24 range.My hypothesis is that the Win7 client needs to get 192.168.0.1 (ppp0) as a default gateway to have the proper route. I have found no way to be able to add this to an existing route via the 'route' command, nor have I found a way in any of the config files to do specify the gateway address the client receives.If you think you might have an idea, please let me know. Thank you hak5, happy holidays.Edit: here's some bits from the error log.[CODE]pppd: Using interface ppp0pppd: Connect: ppp0 <--> /dev/pts/1pptpd: GRE: Bad checksum from pppd.pptpd: CTRL: Ignored a SET LINK INFO packet with real ACCMs!pppd: peer from calling number x.x.x.x authorizedpppd: MPPE 128-bit stateless compression enabledpppd: Cannot determine ethernet address for proxy ARPpppd: local IP address 192.168.0.1pppd: remote IP address 192.168.1.1[/CODE] Edited November 25, 2012 by simplicity Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.