I'm trying to get a VPN setup on my VPS. I would like to use pptpd so I dont have to install anything to get the VPN running on my windows clients. I've gotten everything installed as per this tutorial:
The windows clients can connect successfully but I'm not getting out to the internet after establishing a connection. I think this is due to iptables but I'm not familiar enough with it to tell. I used the command in the guide and then realized my interface is different but upon rerunning the command its still not working.
I used:
iptables -t nat -A POSTROUTING -o ens3 -j MASQUERADE && iptables-save
ens3 being the interface having the public IP in ifconfig.
The other thing I might have done wrong is I used the default values for pptpd.conf for localip and remoteip
localip 192.168.0.1
remoteip 192.168.0.234-238,192.168.0.245
I'm not entirely sure if it matters or not as other tutorials have different address ranges.