diff options
Diffstat (limited to 'policies/iptables-web')
-rw-r--r-- | policies/iptables-web | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/policies/iptables-web b/policies/iptables-web new file mode 100644 index 0000000..9dc9ca5 --- /dev/null +++ b/policies/iptables-web | |||
@@ -0,0 +1,19 @@ | |||
1 | # | ||
2 | # iptables Firewall Policy | ||
3 | # by Mike Crute (mcrute@gmail.com) | ||
4 | # on September 19, 2009 | ||
5 | # | ||
6 | |||
7 | ALLOW_PING=1 | ||
8 | |||
9 | TCP_ALLOW="22" # SSH | ||
10 | TCP_ALLOW="${TCP_ALLOW} 80 443" # Web Ports | ||
11 | TCP_ALLOW="${TCP_ALLOW} 20 21" # FTP Ports | ||
12 | TCP_ALLOW="${TCP_ALLOW} 5870 5871" # Inbound tunnels | ||
13 | HOSTS_DENY=$(cat /etc/firewall/blocked-ips) | ||
14 | |||
15 | #HOSTS_ALLOW="" | ||
16 | #TCP_DENY="" | ||
17 | #UDP_ALLOW="53" | ||
18 | #UDP_DENY="" | ||
19 | #RULES="" | ||