|
本来意外是 mtu 问题 但是发现调整 iptables 后 有能够访问哪些网站了
这个是我iptables信息[ol]# Generated by iptables-save v1.3.5 on Tue Mar 22 09:24:45 2011*nat:PREROUTING ACCEPT [2132:203300]:POSTROUTING ACCEPT [2:133]:OUTPUT ACCEPT [2:133]-A POSTROUTING -s 192.168.0.0/255.255.255.0 -o eth0 -j MASQUERADECOMMIT# Completed on Tue Mar 22 09:24:45 2011# Generated by iptables-save v1.3.5 on Tue Mar 22 09:24:45 2011*filter:INPUT ACCEPT [0:0]:FORWARD ACCEPT [0:0]:OUTPUT ACCEPT [5010:2128003]:RH-Firewall-1 - [0:0]-A INPUT -j RH-Firewall-1-A FORWARD -j RH-Firewall-1-A RH-Firewall-1 -i lo -j ACCEPT-A RH-Firewall-1 -p icmp -m icmp --icmp-type any -j ACCEPT-A RH-Firewall-1 -m state --state RELATED,ESTABLISHED -j ACCEPT-A RH-Firewall-1 -p tcp -m state --state NEW,RELATED -m tcp --dport 22 -j ACCEPT-A RH-Firewall-1 -p tcp -m state --state NEW,RELATED -m tcp --dport 443 -j ACCEPT-A RH-Firewall-1 -p tcp -m state --state NEW,RELATED -m tcp --dport 80 -j ACCEPT-A RH-Firewall-1 -p udp -m state --state NEW,RELATED -m udp --dport 53 -j ACCEPT-A RH-Firewall-1 -p udp -m state --state NEW,RELATED -m udp --dport 137 -j ACCEPT-A RH-Firewall-1 -p tcp -m tcp --dport 1723 -j ACCEPT# -A RH-Firewall-1 -j REJECT --reject-with icmp-host-prohibitedCOMMIT# Completed on Tue Mar 22 09:24:45 2011[/ol]复制代码取消掉 -A RH-Firewall-1 -j REJECT --reject-with icmp-host-prohibited 的注释后 发生部分网站无法访问
注释掉的话 所有网站都能访问
求help 我估计是 啥没开放的原因~ |
|