1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Generated by iptables-save v1.4.1.1 on Tue Nov  4 20:44:35 2008
*filter
:INPUT ACCEPT [6948:3148635]
:FORWARD ACCEPT [74:4650]
:OUTPUT ACCEPT [7501:3448094]
-A INPUT -p gre -j ACCEPT
COMMIT
# Completed on Tue Nov  4 20:44:35 2008
# Generated by iptables-save v1.4.1.1 on Tue Nov  4 20:44:35 2008
*nat
:PREROUTING ACCEPT [197210:16138354]
:POSTROUTING ACCEPT [295812:19054086]
:OUTPUT ACCEPT [12778:1231904]
-A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080
-A OUTPUT -p tcp -m tcp --dport 3128 -m owner --uid-owner dansguardian -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 80 -m owner --uid-owner proxy -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080
-A OUTPUT -p tcp -m tcp --dport 3128 -j REDIRECT --to-ports 8080
COMMIT
# Completed on Tue Nov  4 20:44:35 2008