Question

PPTP IOS VPN Connection Refused?

Hello Guys! I have a question regarding my PPTP Server. I´m enable to connect just fine on windows and my friends have tried to connect aswell from pc and it works.

When i try to connect to my pptp vpn server using my iphone with the correct ip,username and password. its connecting ,authentication and then disconnecting. And gives the following error message “A Connection could not be estalished to the PPP Server. Try reconnecting. If the problem continues, verify your settings and contact your administrator.” I wonder why it gives this error message when i try to connect from my iphone?

I have enabled the following iptables in firewall: " iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables -I FORWARD -p tcp --syn -i ppp+ -j TCPMSS --set-mss 1356 iptables -A INPUT -i eth0 -p tcp --dport 1723 -j ACCEPT iptables -A INPUT -i eth0 -p gre -j ACCEPT iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -i ppp+ -o eth0 -j ACCEPT iptables -A FORWARD -i eth0 -o ppp+ -j ACCEPT iptables -A INPUT -p tcp --tcp-flags ALL NONE -j DROP iptables -A INPUT -p tcp ! --syn -m state --state NEW -j DROP iptables -A INPUT -p tcp --tcp-flags ALL ALL -j DROP iptables -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT " Have i missed any rule to enable in order to allow mobile devices to connect to the vpn server?

Sincerly Zyry


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Please pastebin your PPTP server’s config file.