Re: MASQUERADE problem

2001-10-29 Thread Dave Watkins
At 08:09 PM 10/22/01 +0200, you wrote: The line iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE should be using interface eth1 not ppp0 as you (probably) don't have a ppp interface. Also you should add this echo 1 > /proc/sys/net/ipv4/ip_forward to enable IP forwarding. The redirect line isn

Re: MASQUERADE problem

2001-10-28 Thread Dave Watkins
At 08:09 PM 10/22/01 +0200, you wrote: The line iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE should be using interface eth1 not ppp0 as you (probably) don't have a ppp interface. Also you should add this echo 1 > /proc/sys/net/ipv4/ip_forward to enable IP forwarding. The redirect li

RE: MASQUERADE problem

2001-10-24 Thread Dave Smith
> -Original Message- > From: Luc MAIGNAN [mailto:[EMAIL PROTECTED] > > On the router, I have done the following : > > iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE > iptables -t nat -A PREROUTING -i eth0 -j REDIRECT you don't want the redirect rule at all. The redirect makes all co

RE: MASQUERADE problem

2001-10-24 Thread Dave Smith
> -Original Message- > From: Luc MAIGNAN [mailto:[EMAIL PROTECTED]] > > On the router, I have done the following : > > iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE > iptables -t nat -A PREROUTING -i eth0 -j REDIRECT you don't want the redirect rule at all. The redirect makes all

RE: MASQUERADE problem

2001-10-24 Thread James
Message- From: Michael Jager [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 23, 2001 5:32 AM To: debian-isp@lists.debian.org Subject: Re: MASQUERADE problem Not an answer to the problem, just a question. What's the difference between iptables and ipchains? Michael on 23.10.2001 9:

RE: MASQUERADE problem

2001-10-23 Thread James
Message- From: Michael Jager [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 5:32 AM To: [EMAIL PROTECTED] Subject: Re: MASQUERADE problem Not an answer to the problem, just a question. What's the difference between iptables and ipchains? Michael on 23.10.2001 9:54 PM, so

Re: MASQUERADE problem

2001-10-23 Thread Michael R. Schwarzbach
Hi ipchains is for Linux Kernel 2.2, iptables is for Kernel 2.4. Michael Jager wrote: Not an answer to the problem, just a question. What's the difference between iptables and ipchains? Michael on 23.10.2001 9:54 PM, someone claiming to be Michael R. Schwarzbach [EMAIL PROTECTED] said: Luc MAIGNAN

Re: MASQUERADE problem

2001-10-23 Thread Michael Jager
Not an answer to the problem, just a question. What's the difference between iptables and ipchains? Michael on 23.10.2001 9:54 PM, someone claiming to be Michael R. Schwarzbach [EMAIL PROTECTED] said: > > Luc MAIGNAN wrote: > >> Hi all, >> >> I've installed a router with linux (a pc with an in

Re: MASQUERADE problem

2001-10-23 Thread Michael R. Schwarzbach
Luc MAIGNAN wrote: Hi all, I've installed a router with linux (a pc with an internet connection). I would like share this connection with the others pc on my network, but it doesn't work. COuld anyone help me ? two things: 1.) Have you checked "/proc/sys/net/ipv4/ip_forward"? This must be set t

Re: MASQUERADE problem

2001-10-23 Thread Michael R. Schwarzbach
Hi ipchains is for Linux Kernel 2.2, iptables is for Kernel 2.4. Michael Jager wrote: > Not an answer to the problem, just a question. What's the difference between > iptables and ipchains? > > Michael > > > on 23.10.2001 9:54 PM, someone claiming to be Michael R. Schwarzbach > [[EMAIL PROT

Re: MASQUERADE problem

2001-10-23 Thread Michael Jager
Not an answer to the problem, just a question. What's the difference between iptables and ipchains? Michael on 23.10.2001 9:54 PM, someone claiming to be Michael R. Schwarzbach [[EMAIL PROTECTED]] said: > > Luc MAIGNAN wrote: > >> Hi all, >> >> I've installed a router with linux (a pc with an

Re: MASQUERADE problem

2001-10-23 Thread Michael R. Schwarzbach
Luc MAIGNAN wrote: > Hi all, > > I've installed a router with linux (a pc with an internet connection). I > would like share this connection with the others pc on my network, but it > doesn't work. COuld anyone help me ? two things: 1.) Have you checked "/proc/sys/net/ipv4/ip_forward"? Thi