I installed the pptpd VPN service on the linux Enterprise Edition and connected to the linux-VPN Server on win2003. The 800 error occurred: the VPN connection cannot be established, and the VPN Server may not be accessible, or the connection security parameter is not correctly configured.
After verification, we will learn
The cause of my error is that port 1723 is not enabled in the iptables rule.
Solution:
| The Code is as follows: |
Copy code |
Chkconfig iptables off Service iptables stop ==================== Iptables-t nat-a postrouting-o eth0-j MASQUERADE Iptables-a input-I eth0-p tcp -- dport 1723-j ACCEPT Iptables-a input-I eth0-p gre-j ACCEPT Iptables-a forward-I ppp +-o eth0-j ACCEPT Iptables-a forward-I eth0-o ppp +-j ACCEPT Iptables-a output-p tcp -- dport 1723-j ACCEPT Iptables-a output-p gre-j ACCEPT ==================
Service iptables save Service iptables start |
Try to connect to the VPN again and the 800 error disappears.