What should I do if there is an 807 error after Linux establishes a VPN?

  

Some users have set up a VPN in their Linux system, but they can't connect to the VPN, and the system prompts 807 error. How to solve this problem? Today, Xiaobian will help you solve this problem that is extremely tangled.

Solution:

When dial-up vpn, if 807 errors, or other errors, if it is determined not their own computer problems before confirming the account, password appears, You can use Vi to edit /etc/sysconfig/iptables to see if the two rules appear correctly in the file:

The code is as follows:

-A INPUT -p tcp -m tcp &ndash ;dport 1723 -j ACCEPT

-A INPUT -p gre -j ACCEPT

and the position of these two rules cannot be in any "-A INPUT -j REJECT …" Below the rules. If this is the case, move it to the top of “-A INPUT -J REJECT …”.

After saving, restart iptables:

The code is as follows:

service iptables restart

The above is the connection after setting up VPN in Linux. VPN solution, users who are troubled by this problem, come and try this solution.

Copyright © Windows knowledge All Rights Reserved