----- Original Message ----- From: "Rohan Almeida" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 11-mm-03 7:27 PM Subject: Re: [LIH]inter net connection sharing
> komal <[EMAIL PROTECTED]> thus wrote: > > iptables -A POSTROUTING -t nat -o ppp0 -j MASQUERADE . > > > now i want to know if computer that is either windows or linux when they > > request for something localy do they masquerade or not if not why not? > > A very vague question. > > If you mean local LAN, then, two computers communicating on > a LAN network will not go via the ppp0 link and hence no masquerading. > Hell, they won't even reach the main masquerding server - forget > about routing through the default gateway. > > If you mean local processes on the masquerading server, > then their packets will go out to the internet via the OUTPUT chain, > and not the POSTROUTING chain - hence no masquerading > > And local processes communicating to each other on the same masquerading > server, will use some form of IPC I believe. > Also, if they use sockets, the interface used will be "lo" - hence > no masquerading > > -- > arc_of_descent > > thank you for your reply i am newbie and I need help to start internet connection sharing. Actually I wanted to know how does Linux server differentiate that if request comes from any windows client will be masquerade? thanking you shah komal kiritkumar ------------------------------------------------------- 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
