Displaying 1 result from an estimated 1 matches for "nmofif".
Did you mean:
nmodif
2009 Aug 18
3
Rules based on ipmasq
...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 in $INTERNAL; do
ipnm_cache $i
case $MASQMETHOD in
ipfwadm)
$IPFWADM -I -a accept -P tcp -D $IPOFIF/$NMOFIF 80
;;
ipchains)
$IPCHAINS -A input -p tcp -d $IPOFIF/$NMOFIF 80 -j ACCEPT
;;
netfilter)
$IPTABLES -A INPUT -p tcp -d $IPOFIF/$NMOFIF --dport 80 -j ACCEPT
;;
esac
done
# 3. redirect non-local http requests to transparent proxy
for i in $INTERNAL;...