Jason Legault wrote:
> was a way to set ipfwadm to redirect all outgoing port 80 packets
> to port 9688 (SQUID) of the same server.
This should do it:
# Don't redirect traffic received on eth0
ipfwadm -I -a accept -V eth0
# Don't redirect loopback traffic
ipfwadm -I -a accept -V lo
# Don't redirect traffic destinated for us
ipfwadm -I -a accept -D this.server.name accept
# Redirect port 80 to Squid on all other interfaces
ipfwadm -I -a accept -P tcp -D 0.0.0.0/0 80 -r 9688
--- Henrik Nordstrom Spare time Squid hackerReceived on Mon Feb 08 1999 - 18:33:58 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:29 MST