Re: Need help to do transparent proxying

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 19 Jul 1999 00:05:51 +0200

Fathi Ben Nasr wrote:
>
> How to know if the redhat 5.2 or any distribution's kernel was compiled
> with transparent proxing or not ?

Simplest way is to try the example command for setting up TCP port
redirection to Squid.

Linux 2.0.X:
  /sbin/ipfwadm -I -a accept -P tcp -D 0/0 80 -r 3128

Linux 2.2.X:
  /sbin/ipchains -A input -j REDIRECT 80 -p tcp -s 0.0.0.0/0 -d
0.0.0.0/0 80

If if says "protocol not supported" or a similar error message then the
kernel is most likely not compiled with transparent proxy support.

--
Henrik Nordstrom
Spare time Squid hacker
Received on Sun Jul 18 1999 - 15:47:55 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:27 MST