|
楼主 |
发表于 2005-11-16 11:29:10
|
显示全部楼层
选取了iptables,但是重启后,拨号,打开Azureus,测试TCP监听端口依然显示NAT错误,在终端下输入service iptables start后再测试显示确定,那里有错,这是iptables-config文件内容:
# Generated by iptables-save v1.3.2 on Wed Nov 16 10:38:40 2005
*filter
:INPUT DROP [5]
:FORWARD ACCEPT [0]
:OUTPUT ACCEPT [1]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -s 127.0.0.1 -j ACCEPT
-A INPUT -p tcp -m multiport --dports 4662,6880,6881 -j ACCEPT
-A INPUT -p udp -m multiport --dports 4672,6880,6881 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
COMMIT
# Completed on Wed Nov 16 10:38:40 2005
这是iptabies文件内容:
# Generated by iptables-save v1.3.2 on Wed Nov 16 10:38:40 2005
*filter
:INPUT DROP [5]
:FORWARD ACCEPT [0]
:OUTPUT ACCEPT [1]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -s 127.0.0.1 -j ACCEPT
-A INPUT -p tcp -m multiport --dports 4662,6880,6881 -j ACCEPT
-A INPUT -p udp -m multiport --dports 4672,6880,6881 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
COMMIT
# Completed on Wed Nov 16 10:38:40 2005 |
|