Re: NAT & forwarding : only partial connections

2004-11-28 Thread Francesco Bochicchio
On Sat, Nov 27, 2004 at 08:08:36PM +0200, Black Dew wrote: > Francesco Bochicchio wrote: > > >What I do is this: > > On the PC : iptables -t NAT -A POSTROUTING -o ppp0 -j MASQUERADE > > AFAIK it should be -t nat (lowercase). Upcase NAT gives the following > error on my system: Yes. I wrongl

Re: NAT & forwarding : only partial connections

2004-11-27 Thread Eriberto
Hello! If you use ADSL, you are connected via eth0. The correct parameter is nat and not NAT. Is the FORWARD chain configured as ACCEPT? Try it: #iptables -F #iptables -t nat -F #iptables -P FORWARD ACCEPT #iptables -P POSTROUTING ACCEPT #iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE Assum

Re: NAT & forwarding : only partial connections

2004-11-27 Thread Black Dew
Francesco Bochicchio wrote: What I do is this: On the PC : iptables -t NAT -A POSTROUTING -o ppp0 -j MASQUERADE AFAIK it should be -t nat (lowercase). Upcase NAT gives the following error on my system: iptables v1.2.11: can't initialize iptables table `NAT': Table does not exist (do you

Re: NAT & forwarding : only partial connections

2004-11-27 Thread Paul Dwerryhouse
On Sat, Nov 27, 2004 at 04:12:31PM +0100, Francesco Bochicchio wrote: > On the PC : iptables -t NAT -A POSTROUTING -o ppp0 -j MASQUERADE IIRC, the table for NAT is named 'nat' (ie, lowercase). I'll bet it's this that's causing the problem. Cheers, Paul -- Paul Dwerryhouse

Re: NAT & forwarding : only partial connections

2004-11-27 Thread Wim De Smet
On Sat, 27 Nov 2004 16:12:31 +0100, Francesco Bochicchio <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a laptop with installed Sarge and a PC with installed Sid. I would > like to implement this schema: > >Laptop <-wireless-> PC+ADSL Modem< phone lines> Provider<..>Internet > > I had it wo

NAT & forwarding : only partial connections

2004-11-27 Thread Francesco Bochicchio
Hi all, I have a laptop with installed Sarge and a PC with installed Sid. I would like to implement this schema: Laptop <-wireless-> PC+ADSL Modem< phone lines> Provider<..>Internet I had it working in the past, but after a reinstallation of SID on the PC, something broke. All the connecti