|
发表于 2004-9-18 14:43:46
|
显示全部楼层
我上一个封QQ 的办法
#qq
/sbin/iptables -A FORWARD -p udp --dport 8080 -j DROP
/sbin/iptables -A FORWARD -p tcp --dport 8080 -j DROP
/sbin/iptables -A FORWARD -p udp --dport 1080 -j DROP
/sbin/iptables -A FORWARD -p tcp --dport 1080 -j DROP
/sbin/iptables -A FORWARD -p tcp --dport 8000 -j DROP
/sbin/iptables -A FORWARD -p udp --dport 8000 -j DROP
/sbin/iptables -A FORWARD -d tcpconn.tencent.com -j DROP
/sbin/iptables -A FORWARD -d tcpconn2.tencent.com -j DROP
/sbin/iptables -A FORWARD -d tcpconn3.tencent.com -j DROP
/sbin/iptables -A FORWARD -d tcpconn4.tencent.com -j DROP
/sbin/iptables -A FORWARD -d http.tencent.com -j DROP
/sbin/iptables -A FORWARD -d http2.tencent.com -j DROP
/sbin/iptables -A FORWARD -d 61.144.238.145 -j DROP
/sbin/iptables -A FORWARD -d 61.144.238.146 -j DROP
/sbin/iptables -A FORWARD -d 61.144.238.156 -j DROP
/sbin/iptables -A FORWARD -d 61.144.238.150 -j DROP
/sbin/iptables -A FORWARD -d 202.104.129.251 -j DROP
/sbin/iptables -A FORWARD -d 202.104.129.254 -j DROP
/sbin/iptables -A FORWARD -d 202.104.129.252 -j DROP
/sbin/iptables -A FORWARD -d 202.104.129.253 -j DROP
/sbin/iptables -A FORWARD -d 61.141.194.203 -j DROP
/sbin/iptables -A FORWARD -d 202.96.170.166 -j DROP
/sbin/iptables -A FORWARD -d 218.18.95.221 -j DROP
/sbin/iptables -A FORWARD -d 219.133.45.15 -j DROP
/sbin/iptables -A FORWARD -d 61.141.194.200 -j DROP
/sbin/iptables -A FORWARD -d 61.141.194.224 -j DROP
/sbin/iptables -A FORWARD -d 202.96.170.164 -j DROP
/sbin/iptables -A FORWARD -d 202.96.170.163 -j DROP
/sbin/iptables -A FORWARD -d 219.133.40.216 -j DROP
/sbin/iptables -A FORWARD -d 218.18.95.209 -j DROP
/sbin/iptables -A FORWARD -d 61.141.194.227 -j DROP
/sbin/iptables -A FORWARD -d 218.18.95.171 -j DROP
/sbin/iptables -A FORWARD -d 218.18.95.221 -j DROP
/sbin/iptables -A FORWARD -d 219.133.38.31 -j DROP
/sbin/iptables -A FORWARD -d 218.18.95.165 -j DROP
/sbin/iptables -A FORWARD -d 202.96.170.188 -j DROP
/sbin/iptables -A FORWARD -d 202.104.129.246 -j DROP
/sbin/iptables -A FORWARD -d 61.144.238.137 -j DROP
/sbin/iptables -A FORWARD -d 202.96.170.175 -j DROP
/sbin/iptables -A FORWARD -d 202.103.190.61 -j DROP
/sbin/iptables -A FORWARD -d 202.103.149.40 -j DROP
/sbin/iptables -A FORWARD -d 218.18.95.140 -j DROP
/sbin/iptables -A FORWARD -d 218.18.95.153 -j DROP
/sbin/iptables -A FORWARD -d 61.135.131.240 -j DROP
/sbin/iptables -A FORWARD -d 216.239.33.99 -j DROP
/sbin/iptables -A FORWARD -d 218.17.209.23 -j DROP
/sbin/iptables -A FORWARD -d 202.104.129.251 -j DROP
#msn
/sbin/iptables -I FORWARD -d gateway.messenger.hotmail.com -j DROP
/sbin/iptables -I FORWARD -p tcp --dport 1863 -j DROP
把MSN也封了
保证把qq封了 |
|