Displaying 1 result from an estimated 1 matches for "masqmethod".
Did you mean:
askmethod
2009 Aug 18
3
Rules based on ipmasq
...ation by ipmasq but I have
installed shorewall. This is content of I89tproxy.rul file:
#!/bin/sh
#
# redirect http requests to non-local hosts to the transparent proxy
# GPL 2.0 or later (C) 2004 Johannes Martin <jmartin@notamusica.com>
# 1. do not redirect http requests to localhost
case $MASQMETHOD in
ipfwadm)
$IPFWADM -I -a accept -P tcp -D localhost 80
;;
ipchains)
$IPCHAINS -A input -p tcp -d localhost 80 -j ACCEPT
;;
netfilter)
$IPTABLES -A INPUT -p tcp -d localhost --dport 80 -j ACCEPT
;;
esac
# 2. do not redirect http request to hosts on the local network
for i...