iptables configuration and examples for Linux
target prot opt source destination
ACCEPT all -- anywhere anywhere
DROP all -- 60.191.43.39 anywhere
DROP all -- 219.139.58.234 anywhere
ACCEPT udp -- anywhere anywhere udp spt:domain
ACCEPT tcp -- anywhere anywhere tcp spt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp-data
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:mysql
ACCEPT tcp -- anywhere anywhere tcp dpt:655
ACCEPT tcp -- anywhere anywhere tcp dpt:http flags:SYN,RST,ACK/SYN
ACCEPT tcp -- anywhere anywhere tcp dpt:hosts2-ns flags:SYN,RST,ACK/SYN
ACCEPT icmp -- anywhere anywhere icmp echo-request limit: avg 1/sec burst 5
REJECT tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp reject-with icmp-port-unreachable
| HOW TO INSTALL AND CONFIGURE MRTG IN UBUNTU< Prev | Next >How to install LimeWire on Fedora, Mandirva, Suse (RPM) |
|---|


