Re: New MASQUERADE problem

2001-10-30 Thread Stephane Bortzmeyer
On Thu, Oct 25, 2001 at 12:44:15AM +0200, Luc MAIGNAN <[EMAIL PROTECTED]> wrote a message of 34 lines which said: > * if the pc pings the external internet address of the router, it works fine > (ping succedded) > * if the pc tries to ping a host on the internet from its name : the > correspo

Re: New MASQUERADE problem

2001-10-30 Thread Stephane Bortzmeyer
On Thu, Oct 25, 2001 at 12:44:15AM +0200, Luc MAIGNAN <[EMAIL PROTECTED]> wrote a message of 34 lines which said: > * if the pc pings the external internet address of the router, it works fine > (ping succedded) > * if the pc tries to ping a host on the internet from its name : the > corresp

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

New MASQUERADE problem

2001-10-24 Thread Luc MAIGNAN
Hi all, one more time, sorry for this so basic problem, but I really need to make it works. This my configuration and my problem : Config : * a router with a ADSL modem connected to internet using RP-PPPOE, doing masquerading ... * a pc which trying to connecting to the internet. The defaul

New MASQUERADE problem

2001-10-24 Thread Luc MAIGNAN
Hi all, one more time, sorry for this so basic problem, but I really need to make it works. This my configuration and my problem : Config : * a router with a ADSL modem connected to internet using RP-PPPOE, doing masquerading ... * a pc which trying to connecting to the internet. The defau

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

MASQUERADE problem

2001-10-22 Thread Luc MAIGNAN
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 ? This my config : eth0 (10.0.0.1) connected to internet eth1 (192.168.0.1) connected to the rest of m

MASQUERADE problem

2001-10-22 Thread Luc MAIGNAN
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 ? This my config : eth0 (10.0.0.1) connected to internet eth1 (192.168.0.1) connected to the rest of