Re: Routing internet to private network

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:  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:  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/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux