The problem was previously recorded not edited into the article, just in the morning when some netizens mentioned also encountered this problem. When we configure an Internet environment, there is a problem with setting chains to policy accept:security Raw nat[failed]filter when restarting Iptables. In the same VPS release version of the system before there seems to be no such problem, but this time in the Linode VPS appeared.
Encounter problems and then search for answers to see if you can find a solution.
First, edit the/etc/init.d/iptables file
Find the location of the case $i ' in ' and add the script directly below
The code is as follows |
Copy Code |
Security
$IPTABLES-t filter-p INPUT $policy \
&& $IPTABLES-t filter-p OUTPUT $policy \
&& $IPTABLES-t filter-p FORWARD $policy \
|| Let Ret+=1
;;
|
The code is as follows |
Copy Code |
Service Iptables Restart
|
Then we can see the results without errors.
This is a complete solution to this problem.