I am trying to setup a VPN tunnel from my Windows 7 box to my Linode, with the end goal of being able to host servers using my Linode's public IP via forwarded ports.
I've got so far with PPTPD, but I just can't get it to work. My Windows 7 client connects okay, but my Linode doesn't seem to supply it with a gateway IP address, so it can't use the Internet:
I added the iptables gre traffic and allowed TCP port 1723, but ended up allowing everything through - to no avail.
I've tried connecting using my Android phone too, but the same thing happened - I couldn't browse the internet.
So below are the configuration files that I'm using:
/etc/ppp/pptpd-options:
http://dpaste.com/hold/557152/
/etc/pptpd.conf:
http://dpaste.com/hold/557157/ (got a feeling I fudged up localip and remoteip here)
/var/log/syslog:
http://dpaste.com/hold/557161/ (debug output from a connection attempt)
I'm not sure if any others will be of use, but if there are any let me know.
Should add that I've edited
Code:
sysctl.conf
and set
Code:
net.ipv4.ip_forward = 1
.
Thanks
