800 Error resolution for LINUX installation VPN

Source: Internet
Author: User
Tags iptables

After verification, we know


The reason for the error on my side is that the iptables rule does not open 1723 ports

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 connecting again vpn,800 error disappears.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.