Skip to contentSkip to conversation

Routing internet to private network

LARTC Kenny Mallants 2 participants 3 messages Jul 17, 2002 – Aug 6, 2002

lore
Share & tools
lore
#1 lore raw

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" <[email protected]>
To: <[email protected]>
Sent: Wednesday, July 17, 2002 11:18 AM
Subject: [LARTC] Routing internet to private network

Quoted 8 lines

Hi,

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

Greets,
Kenny

Quoted 7 lines

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

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to Kenny Mallants

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" <[email protected]>
To: <[email protected]>
Sent: Sunday, August 04, 2002 11:18 AM
Subject: Re: [LARTC] Routing internet to private network

Quoted 33 lines

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

Quoted 24 lines

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" <[email protected]>
To: <[email protected]>
Sent: Wednesday, July 17, 2002 11:18 AM
Subject: [LARTC] Routing internet to private network

Quoted 3 lines

Hi,

How can I share my internet connection (eth0 using dhcp) with my

private

Quoted 27 lines
Quoted 5 lines
Quoted 5 lines

network (eth1 192.168.0.*)??

Greets,
Kenny

Quoted 7 lines
Quoted 7 lines

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

_______________________________________________
LARTC mailing list / [email protected]
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   #-
Quoted 9 lines

#############################-
----------------------------

_________________________________________________________________
Join the world's largest e-mail service with MSN Hotmail.
http://www.hotmail.com

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/