|
iptables -A FORWARD -i eth1 -p icmp -s 0.0.0.0/0 -d 0.0.0.0/0 -j DROP
iptables -A FORWARD -i eth0 -p icmp -s 0.0.0.0/0 -d 0.0.0.0/0 -j DROP
iptables -A FORWARD -i eth0 -p udp --dport 69 -j DROP
iptables -A FORWARD -i eth0 -p udp --dport 135 -j DROP
iptables -A FORWARD -i eth0 -p udp --dport 139 -j DROP
iptables -A FORWARD -i eth0 -p udp --dport 445 -j DROP
iptables -A FORWARD -i eth0 -p tcp --dport 135 -j DROP
iptables -A FORWARD -i eth0 -p tcp --dport 139 -j DROP
iptables -A FORWARD -i eth0 -p tcp --dport 445 -j DROP
iptables -A FORWARD -i eth0 -p tcp --dport 4444 -j DROP
iptables -A FORWARD -i eth1 -p udp --dport 69 -j DROP
iptables -A FORWARD -i eth1 -p udp --dport 135 -j DROP
iptables -A FORWARD -i eth1 -p udp --dport 139 -j DROP
iptables -A FORWARD -i eth1 -p udp --dport 445 -j DROP
iptables -A FORWARD -i eth1 -p tcp --dport 135 -j DROP
iptables -A FORWARD -i eth1 -p tcp --dport 139 -j DROP
iptables -A FORWARD -i eth1 -p tcp --dport 445 -j DROP
iptables -A FORWARD -i eth1 -p tcp --dport 4444 -j DROP
请指教,谢谢!!!
:cool: |
|