iptables and nat

2003-08-14 Thread Rudy Gevaert
Hi, I'm fiddling arround with iptables and I have some problems understading how the tables and chains work with SNAT. My network is setup as following: eth0 is a static ip address eth1 has ip 10.0.0.254 and connects to a switch with two other computers on it. When a packet comes from the intern

Re: iptables and nat

2003-08-14 Thread Valter G. Nogueira Jr.
The follow link has a great explanation about traversing tables and chains. http://iptables-tutorial.frozentux.net/iptables-tutorial.html Just when I read that I understood that chain and tables are intermingled. Valter -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubsc

Re: iptables and nat

2003-08-14 Thread Rudy Gevaert
Thanks for replying, but I have some more questions :) On Tue, Aug 12, 2003 at 03:51:11AM +0300, Shaul Karl wrote: > On Mon, Aug 11, 2003 at 11:06:37PM +0200, Rudy Gevaert wrote: > > > And when does the addresstanslation take place? (I'm using SNAT) > > When do I have to put the local address in

Re: iptables and nat

2003-08-14 Thread Shaul Karl
On Mon, Aug 11, 2003 at 11:06:37PM +0200, Rudy Gevaert wrote: > Hi, > > I'm fiddling arround with iptables and I have some problems > understading how the tables and chains work with SNAT. > The docs under /usr/share/doc/iptables/html about your questions are not clear enough for my taste. St

Re: iptables and nat

2003-08-14 Thread Shaul Karl
On Tue, Aug 12, 2003 at 08:56:36PM +0200, Rudy Gevaert wrote: > Thanks for replying, but I have some more questions :) > > On Tue, Aug 12, 2003 at 03:51:11AM +0300, Shaul Karl wrote: > > On Mon, Aug 11, 2003 at 11:06:37PM +0200, Rudy Gevaert wrote: > > > > > And when does the addresstanslation ta

Re: iptables and nat

2003-08-14 Thread Derrick 'dman' Hudson
On Mon, Aug 11, 2003 at 11:06:37PM +0200, Rudy Gevaert wrote: | When a packet comes from the internet with destination one of the | computers on the local lan, which route does it take? 'filter' table : _ Incoming / \ Outgoing -->[