vampire: Allow outside access to squid.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 7 Mar 2011 11:02:35 +0000 (11:02 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 7 Mar 2011 11:02:35 +0000 (11:02 +0000)
This is to provide an escape hatch against the office's cretinous web
filter thing.

vampire.m4

index 18365be..224374a 100644 (file)
@@ -48,7 +48,7 @@ allowservices inbound tcp \
        ftp ftp_data \
        rsync \
        disorder mpd \
-       http https \
+       http https squid \
        git \
        tor_public tor_directory i2p
 allowservices inbound udp \
@@ -79,11 +79,6 @@ run iptables -A inbound -j ACCEPT \
        -s 172.29.198.2 \
        -p udp --destination-port $port_syslog
 
-## Provide a web cache to local untrusted hosts.
-run iptables -A inbound -j ACCEPT \
-       -s 172.29.198.0/24 \
-       -p tcp --destination-port $port_squid
-
 ## Watch outgoing Tor usage.
 run iptables -A OUTPUT -m multiport \
        -p tcp --source-ports $port_tor_public,$port_tor_directory