On Mon, Mar 24, 2003 at 08:50:01AM +0530, mazumdar wrote:

>>>I  am using  squid proxy  with out  authentication for  browsing .I
>>>found that nat feature is not enabled in my proxy setup.can any one
>>>help me how to enable nat in squid proxy ...

For setting up NAT refer www.kumarayil.net/howtos.htm

If you want to use iptables then

#####################################################################
## Masquerade everything out eth0 for all machines
#####################################################################
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Warning: If your private network contains any vital information, think
carefully in  terms of SECURITY before implementing  IP Masquerade. By
default, IP MASQ  becomes a GATEWAY for you to  get onto the Internet,
but it also  can allow someone from the Internet  to possibly get into
your internal network.

Regards
-- 
 .''`.     Dileep M. Kumar <[EMAIL PROTECTED]>
: :'  :    http://www.kumarayil.net
`. `'`
  `-  Debian GNU/Linux - Choice of the Freedom Lovers


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to