summaryrefslogtreecommitdiff
path: root/policies/iptables-web
blob: 9dc9ca5199f07e1ccaa3a206a4e202aeba5b84b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# iptables Firewall Policy
# by Mike Crute (mcrute@gmail.com)
# on September 19, 2009
#

ALLOW_PING=1

TCP_ALLOW="22" # SSH
TCP_ALLOW="${TCP_ALLOW} 80 443" # Web Ports
TCP_ALLOW="${TCP_ALLOW} 20 21" # FTP Ports
TCP_ALLOW="${TCP_ALLOW} 5870 5871" # Inbound tunnels 
HOSTS_DENY=$(cat /etc/firewall/blocked-ips)

#HOSTS_ALLOW=""
#TCP_DENY=""
#UDP_ALLOW="53"
#UDP_DENY=""
#RULES=""