Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] Routing internet to private network
@ 2002-07-17 16:18 Kenny Mallants
  2002-07-17 16:44 ` Alfredo Giordano
  2002-08-06  0:39 ` Alfredo Giordano
  0 siblings, 2 replies; 3+ messages in thread
From: Kenny Mallants @ 2002-07-17 16:18 UTC (permalink / raw)
  To: lartc

Hi,

How can I share my internet connection (eth0 using dhcp) with my private 
network (eth1 192.168.0.*)??

Greets,
Kenny

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] Routing internet to private network
  2002-07-17 16:18 [LARTC] Routing internet to private network Kenny Mallants
@ 2002-07-17 16:44 ` Alfredo Giordano
  2002-08-06  0:39 ` Alfredo Giordano
  1 sibling, 0 replies; 3+ messages in thread
From: Alfredo Giordano @ 2002-07-17 16:44 UTC (permalink / raw)
  To: lartc

Try:
-----------------
modprobe iptable_nat
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
-----------------

let me know ;-)

Alfredo




----- Original Message ----- 
From: "Kenny Mallants" <kmallants@hotmail.com>
To: <lartc@mailman.ds9a.nl>
Sent: Wednesday, July 17, 2002 11:18 AM
Subject: [LARTC] Routing internet to private network


> Hi,
> 
> How can I share my internet connection (eth0 using dhcp) with my private 
> network (eth1 192.168.0.*)??
> 
> Greets,
> Kenny
> 
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> 

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] Routing internet to private network
  2002-07-17 16:18 [LARTC] Routing internet to private network Kenny Mallants
  2002-07-17 16:44 ` Alfredo Giordano
@ 2002-08-06  0:39 ` Alfredo Giordano
  1 sibling, 0 replies; 3+ messages in thread
From: Alfredo Giordano @ 2002-08-06  0:39 UTC (permalink / raw)
  To: lartc

Ok, first of all what kernel version do you have? To find out do
uname -r
you probably have a 2.2.x that doesn't have iptable

bye
Alfredo


----- Original Message -----
From: "Kenny Mallants" <kmallants@hotmail.com>
To: <tech@playawireless.com>
Sent: Sunday, August 04, 2002 11:18 AM
Subject: Re: [LARTC] Routing internet to private network


> Hi Alfredo,
>
> first of all thxs for your reply and sorry for my late reaction!
> I can't load the iptable_nat.  Get some errors so couldn't try it.
> Is there no other possibillity?
>
> Thx,
> Kenny
>
> >Try:
> >-----------------
> >modprobe iptable_nat
> >iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> >echo 1 > /proc/sys/net/ipv4/ip_forward
> >-----------------
> >
> >let me know ;-)
> >
> >Alfredo
> >
> >
> >
> >
> >----- Original Message -----
> >From: "Kenny Mallants" <kmallants@hotmail.com>
> >To: <lartc@mailman.ds9a.nl>
> >Sent: Wednesday, July 17, 2002 11:18 AM
> >Subject: [LARTC] Routing internet to private network
> >
> >
> > > Hi,
> > >
> > > How can I share my internet connection (eth0 using dhcp) with my
private
> > > network (eth1 192.168.0.*)??
> > >
> > > Greets,
> > > Kenny
> > >
> > > _________________________________________________________________
> > > Chat with friends online, try MSN Messenger: http://messenger.msn.com
> > >
> > > _______________________________________________
> > > LARTC mailing list / LARTC@mailman.ds9a.nl
> > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> > >
>
>
> ---
>                  (o_
>      (o_   (o_   //\
>      (/)_  (\)_  V_/_
> |~~~~~~~~~~~~~~~~~~~~~~|
> | Beware of the Penguin|
> |~~~~~~~~~~~~~~~~~~~~~~|
>
> #############################
> ##ccc  r rr   A   zzzz  y  y#-
> ##c    rr    A A    z    yy #-
> ##c    r     AAA   z     y  #-
> ##ccc  r     A A  zzzz  y   #-
> #############################-
>   ----------------------------
>
> _________________________________________________________________
> Join the world's largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
>
>

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-08-06  0:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-17 16:18 [LARTC] Routing internet to private network Kenny Mallants
2002-07-17 16:44 ` Alfredo Giordano
2002-08-06  0:39 ` Alfredo Giordano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox