After installing pptpd or pptp server there is no internet access, what is the solution? in Help

This is my step:

apt-get install pptpd

nano /etc/pptpd.conf

# (Recommended)
localip 192.168.0.1
remoteip 192.168.0.234-238,192.168.0.245

nano /etc/ppp/pptpd-options

I demonstrated using Google Public DNS.

ms-dns 8.8.8.8
ms-dns 8.8.4.4

nano /etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
nama_user pptpd contoh_passwd *


service pptpd restart

nano /etc/sysctl.conf

# Uncomment the next line to enable packet forwarding for IPv4
net.ipv4.ip_forward=1

sysctl -p

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A FORWARD -i eth0 -o ppp0 -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i ppp0 -o eth0 -j ACCEPT

iptables-save

--------------------------------------------------------------


Successfully installing pptpd but no internet access!

Then I tried to buy vps at a place other than vultr just like the steps above, success and the internet can be used!

The question is: does vultr deliberately block internet access for pptpd?
Sign In or Register to comment.

Registration Required

A VULTR.com account is required to use the forum. Click here to sign in.

Quick Links