Depending on what software you have loaded, you could try:
# ipmasqadm portfw -a -P tcp -L externalfwaddr 80 -R squidaddr 80

This assumes that you have a kernel with the portfw module.

PGP Fingerprint: 22 68 D5 18 7F 3D D2 28  38 97 90 97 17 55 61 59
GPG Fingerprint: D5C0 2D79 F517 EEB6 D30B  58B3 9E37 E7CA 47A9 56EE
Opinions expressed here do not necessarily express the opinions of
Mentor Graphics or its subsidiaries.

On Wed, 9 Aug 2000, Pranav A. Desai wrote:

> hi!
> i have a firewall on a linux machine. its basically a packet filtering
> one. i have installed squid on one of the machine in my network.
> i want to redirect all http traffic coming to the firewall  to this  
> machine having squid. i dont want to install squid on the firewall, i
> just want it to forward all http packets to the squid machine.
> how can i do this?
> i tried a few things with ipchains. 
> 
> ipchains input -i eth1 -j accept -s $ALL -d $EXTIP 80
> 
> but it didnt work.   
> do i need to do anything specific. 
> 
> 
> 
> thank you
> --pranav.
> *******************************************************************
> 
> Pranav A. Desai
> 4309 Pease Street, Apt #6
> Houston, TX - 77023
> U.S.A.
> 
> Home :- (713) 926-1045
> 
> *******************************************************************
> 
> -
> [To unsubscribe, send mail to [EMAIL PROTECTED] with
> "unsubscribe firewalls" in the body of the message.]
> 


-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]

Reply via email to