[Thu, Dec 13, 2001 at 05:56:28PM +0530] Binand :

> ipchains -I forward --src your.internal.network/netmask -j MASQ

[..]

> [There's an equivalent iptables rule; can't recall it offhand]


/sbin/iptables -t  nat -A PREROUTING -s  ${subnet} -p tcp  --dport 80 -j
DNAT --to ${host}:${port} 

; where 'subnet' is your Internal LAN  in CIDR, 'host' is the IP/name of
the machine  where Squid is installed  and 'port' is the  TCP port where
Squid is listening in (usually 3128).  Do a 'netstat -nl' and find out.

-- 
ragOO, VU2RGU<->http://gnuhead.dyndns.org/<->GPG: 1024D/F1624A6E 
       Helping to keep the  Air-Waves FREE         Amateur Radio 
       Helping to keep your Software  FREE       the GNU Project
       Helping to keep the  W W W     FREE  Debian GNU/${kernel}

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to