我在用iptables 做防火墙时遇到一些问题,请大家帮忙了

由 bulebell2222 在 05-20-2003 10:27 发表:

我在用iptables 做防火墙时遇到一些问题,请大家帮忙了

我在用iptables 做防火墙时遇到一些问题

我是这样做iptables -A INPUT -i eth1 -s

 1<address mask=""> -j DROP   
 2  
 3错误是这样的:address mask :no such file or directory   
 4  
 5iptables -A INPUT -i eth1 -p icmp -s 0.0.0.0 --sport 4 -d 192.168.19.41 -j ACCEPT   
 6  
 7错误是这样的:unknown arg '--sport'   
 8  
 9我是这样做:iptables -A OUPUT -i eth1 -p icmp -s 192.168.19.41 --dport 3 -d 0.0.0.0 -j ACCEPT fragmentation-needed -d 0.0.0.0 -j ACCEPT   
10  
11错误是这样的:bad argument fragmentation-needed 
12
13  
14
15
16* * *
17
18  
19_由 yongjian 在 05-20-2003 16:09 发表:_   
20  
21
22
23****
24
25  
26  
27
28
29I am not sure the first problem. the second might becuase of</address>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus