summaryrefslogtreecommitdiff
path: root/policies/iptables-web
diff options
context:
space:
mode:
Diffstat (limited to 'policies/iptables-web')
-rw-r--r--policies/iptables-web19
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
7ALLOW_PING=1
8
9TCP_ALLOW="22" # SSH
10TCP_ALLOW="${TCP_ALLOW} 80 443" # Web Ports
11TCP_ALLOW="${TCP_ALLOW} 20 21" # FTP Ports
12TCP_ALLOW="${TCP_ALLOW} 5870 5871" # Inbound tunnels
13HOSTS_DENY=$(cat /etc/firewall/blocked-ips)
14
15#HOSTS_ALLOW=""
16#TCP_DENY=""
17#UDP_ALLOW="53"
18#UDP_DENY=""
19#RULES=""