Users in the Linux system found that the iptables could not be started in the linode, and the following prompts appeared. How to solve this problem? Let's take a look at the solution to this problem with Xiaobian.
1. The first solution to the problem:
cp /etc/init.d/iptables /etc/init.d/iptables.oldbak--
//////////////////-n “$i ”
case “$i” in
raw)
$IPTABLES -t raw -P PREROUTING $policy \\
&& $IPTABLES -t raw -P OUTPUT $policy \\
|
|
Let ret+=1
;;
filter)
$IPTABLES -t filter -P INPUT $policy \\
&& $IPTABLES - t filter -P OUTPUT $policy \\
&& $IPTABLES -t filter -P FORWARD $policy \\
|
|
Let ret+=1
;;
nat)
Modify as follows:
for i in $tables; do
echo -n “$i ”
case “$i” in
security)
$IPTABLES -t filter -P INPUT $policy \\
&& $IPTABLES -t filter -P OUTPUT $policy \\
&& $IPTABLES -t filter -P FORWARD $policy \\
|
|
Let ret+=1
;;
raw)
$IPTABLES -t raw -P PREROUTING $policy \\
&& $IPTABLES - t raw -P OUTPUT $policy \\
|
|
Let ret+=1
;;
filter)
$IPTABLES -t filter -P INPUT $policy \\
&& $IPTABLES - t filter -P OUTPUT $policy \\
&& $IPTABLES -t filter -P FORWARD $policy \\
|
|
Let ret+=1
;;
nat) Previous12Next page Total 2 pages
The resolution of the computer screen allows us to look more comfortable when using
Some users have just come into contact with ITDB, knowing that it is a PHP open source IT asset mana
Manually installing Linux system is time-consuming and laborious. There are many st
During the process of writing code using Linux system, there may be a problem of memory leaks. So us
Linux disk failure causes the system to run slowly solution
Linux system rescue mode operation example
Linux using xshell and xftp methods
Example of isosize instruction operation in Linux
Linux how to install and use NeoBundle
Steps to delete a folder with a space name in Linux
Detailed examples of the use of rz commands under Linux
Linux uses S3QL to create an encrypted file system
How to cancel the screen lock function in Ubuntu system
Linux command shutdown restart command usage summary
Run DOS commands in Linux environment
Windows 8 builds healthier storage
Win7 everyone permission setting diagram
Example analysis of the modem that is not detected by the win xp system
XP system installation notes analysis (a)
Retrieving the missing right-click menu for Windows
How to view the current Linux version
What should I do if my Win8 system becomes a Windows To Go environment?
One-click lock Win7 Win+P button is so simple
Windows 7 comes with virtual machine features - installation details