which nat rules will be useful to enable ftp through
squid proxy .
I have tried
iptables -t nat -A POSTROUTING -o eth1 -p tcp --dport
21 -j MASQUERADE
iptables -A INPUT --dport 21 -j ACCEPT
iptables -t nat -A POSTROUTING -o eth1 -p tcp --sport
1000:6535 -j MASQUERADE
if i give iptables -t nat -A POSTROUTING -j MASQUERADE
, then clients in lan can connect to internet by
bypassing squid.
please help !!
--- Mohan Cheema <[EMAIL PROTECTED]> wrote:
> anshul makkar wrote:
>
> i have configured proxy server through the use of
> squid.
> now when connect windows machine to do a ftp request
> to an outside domain through proxy , it gives an
> error
> <snip>
>
> I presume that you are doing natting on your proxy
> machine
> and ipforwarding is enabled.
> if ipforwarding is not enabled do
>
> echo 1 > /proc/sys/net/ipv4/ip_forward
>
> For your ftp to work just insmod these iptable
> modules and try
>
> modprobe ip_conntrack_ftp
> modprobe ip_nat_ftp
>
> --
> Regards,
> Mohan Cheema
>
>
> _______________________________________________
> ilugd mailinglist -- [EMAIL PROTECTED]
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Archives at:
> http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[EMAIL PROTECTED]/
__________________________________
Do you Yahoo!?
Yahoo! Domains � Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer
_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[EMAIL PROTECTED]/