Re: Help needed on MASQUERADE

2001-06-07 Thread Jose Celestino
On Sun, Jun 03, 2001 at 11:39:29PM +0200, Luc MAIGNAN wrote: > HI all, > > I have an internet connection on eth0 (10.0.0.1) and a private network > connection on eth1 (192.168.0.1). > > I put the masquerade configuration on a kernel 2.4.4 : > > iptables -t nat -s 192.168.0.0/24 -o ppp0 -

Re: Help needed on MASQUERADE

2001-06-04 Thread Jose Celestino
On Sun, Jun 03, 2001 at 11:39:29PM +0200, Luc MAIGNAN wrote: > HI all, > > I have an internet connection on eth0 (10.0.0.1) and a private network > connection on eth1 (192.168.0.1). > > I put the masquerade configuration on a kernel 2.4.4 : > > iptables -t nat -s 192.168.0.0/24 -o ppp0

Re: Help needed on MASQUERADE

2001-06-03 Thread Ian Miller
you need to set it to eth0 not ppp0 - Original Message - From: Luc MAIGNAN <[EMAIL PROTECTED]> To: Cc: ; <[EMAIL PROTECTED]@lists.debian.org> Sent: Monday, June 04, 2001 7:39 AM Subject: Help needed on MASQUERADE > HI all, > > I have an internet connection on

Re: Help needed on MASQUERADE

2001-06-03 Thread Ian Miller
you need to set it to eth0 not ppp0 - Original Message - From: Luc MAIGNAN <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: ; <[EMAIL PROTECTED]@lists.debian.org> Sent: Monday, June 04, 2001 7:39 AM Subject: Help needed on MASQUERADE > HI all, > > I have an

Re: Help needed on MASQUERADE

2001-06-03 Thread Robert Magier
> iptables -t nat -s 192.168.0.0/24 -o ppp0 -j MASQUERADE > echo 1>/proc/sys/net/ipv4/ip_forward This wouldn't work at all. You have to write iptables -t nat -I POSTROUTING -s 192.168.0.0/24 -o ppp0 -j MASQUARADE echo 1>/proc/sys/net/ipv4/ip_forward -- [EMAIL PROTECTED] ROBERT MAG

Re: Help needed on MASQUERADE

2001-06-03 Thread John McCullough
you need to send it through eth0 not ppp0 [EMAIL PROTECTED] wrote: On Sun, Jun 03, 2001 at 11:39:29PM +0200, Luc MAIGNAN wrote: iptables -t nat -s 192.168.0.0/24 -o ppp0 -j MASQUERADE echo 1>/proc/sys/net/ipv4/ip_forward A workstation on my network succeeded to ping both eth0

Re: Help needed on MASQUERADE

2001-06-03 Thread yoros
On Sun, Jun 03, 2001 at 11:39:29PM +0200, Luc MAIGNAN wrote: > iptables -t nat -s 192.168.0.0/24 -o ppp0 -j MASQUERADE > echo 1>/proc/sys/net/ipv4/ip_forward > A workstation on my network succeeded to ping both eth0 and eth1, but didn't > succeed to go out of my network to reach the i

Re: Help needed on MASQUERADE

2001-06-03 Thread Alson van der Meulen
On Sun, Jun 03, 2001 at 11:39:29PM +0200, Luc MAIGNAN wrote: > HI all, > > I have an internet connection on eth0 (10.0.0.1) and a private network > connection on eth1 (192.168.0.1). > > I put the masquerade configuration on a kernel 2.4.4 : > > iptables -t nat -s 192.168.0.0/24 -o ppp0 -

Help needed on MASQUERADE

2001-06-03 Thread Luc MAIGNAN
HI all, I have an internet connection on eth0 (10.0.0.1) and a private network connection on eth1 (192.168.0.1). I put the masquerade configuration on a kernel 2.4.4 : iptables -t nat -s 192.168.0.0/24 -o ppp0 -j MASQUERADE echo 1>/proc/sys/net/ipv4/ip_forward A workstation on

Re: Help needed on MASQUERADE

2001-06-03 Thread Robert Magier
> iptables -t nat -s 192.168.0.0/24 -o ppp0 -j MASQUERADE > echo 1>/proc/sys/net/ipv4/ip_forward This wouldn't work at all. You have to write iptables -t nat -I POSTROUTING -s 192.168.0.0/24 -o ppp0 -j MASQUARADE echo 1>/proc/sys/net/ipv4/ip_forward -- [EMAIL PROTECTED] ROBERT MA

Re: Help needed on MASQUERADE

2001-06-03 Thread John McCullough
you need to send it through eth0 not ppp0 [EMAIL PROTECTED] wrote: >On Sun, Jun 03, 2001 at 11:39:29PM +0200, Luc MAIGNAN wrote: > >> iptables -t nat -s 192.168.0.0/24 -o ppp0 -j MASQUERADE >> echo 1>/proc/sys/net/ipv4/ip_forward >> >>A workstation on my network succeeded to ping both

Re: Help needed on MASQUERADE

2001-06-03 Thread yoros
On Sun, Jun 03, 2001 at 11:39:29PM +0200, Luc MAIGNAN wrote: > iptables -t nat -s 192.168.0.0/24 -o ppp0 -j MASQUERADE > echo 1>/proc/sys/net/ipv4/ip_forward > A workstation on my network succeeded to ping both eth0 and eth1, but didn't > succeed to go out of my network to reach the

Re: Help needed on MASQUERADE

2001-06-03 Thread Alson van der Meulen
On Sun, Jun 03, 2001 at 11:39:29PM +0200, Luc MAIGNAN wrote: > HI all, > > I have an internet connection on eth0 (10.0.0.1) and a private network > connection on eth1 (192.168.0.1). > > I put the masquerade configuration on a kernel 2.4.4 : > > iptables -t nat -s 192.168.0.0/24 -o ppp0

Help needed on MASQUERADE

2001-06-03 Thread Luc MAIGNAN
HI all, I have an internet connection on eth0 (10.0.0.1) and a private network connection on eth1 (192.168.0.1). I put the masquerade configuration on a kernel 2.4.4 : iptables -t nat -s 192.168.0.0/24 -o ppp0 -j MASQUERADE echo 1>/proc/sys/net/ipv4/ip_forward A workstation o