Re: [squid-users] nat plus transparent squid

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 20 Apr 2003 00:09:58 +0200

On Saturday 19 April 2003 13.53, babar haq wrote:

> iptables -t nat -A PREROUTING -i eth0 -p -tcp --dport 80 -j
> REDIRECT --to-port 8080 (8080 is the port squid is listening on
> though i didnt specify the ip address with it)

Looks good.

> this is not working and i dont know how to masq so that requests
> recieved from eth0 for ports other then 80 can be masq thorugh the
> eth1(attached to our dsl router).

See the Linux IP-Masquerade HOWTO and/or the Linux Transparent Proxy
HOWTO.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Sat Apr 19 2003 - 16:09:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:03 MST