You need to setup NAT, search for NAT linux and IPTables, you should find a
NAT how-to.

>From what I can tell your inhouse network is using non-routable IP
addresses, so a router isn't what you want.  A NAT router is what you want.

> -----Original Message-----
> From: Oliver Lange [mailto:[EMAIL PROTECTED] 
> Sent: Friday, December 12, 2003 4:18 PM
> To: [EMAIL PROTECTED]
> Subject: [gentoo-user] gentoo as a router
> 
> 
> Hello everyone,
> 
> And again i can't find the solution for a trivial task such 
> as setting up my gentoo box as a simple router for my home LAN.
> 
> Ok here's my situation:
> 
> I'm running rp-pppoe on a gentoo box that shall act as 
> router. Everything runs well, but the other boxes can't ping 
> outside the LAN.
> 
> Somebody wrote in a forum that i need to execute the following
> command:
> 
> echo 1 >/proc/sys/net/ipv4/ip_forward
> 
> I did that, without success.
> 
> Here's my routing table (the router LAN IP is 192.168.88.101):
> 
> Destination     Gateway         Genmask         Flags Metric 
> Ref    Use Iface
> 217.5.98.87     *               255.255.255.255 UH    0      
> 0        0 ppp0
> 192.168.88.0    *               255.255.255.0   U     0      
> 0        0 eth0
> loopback        localhost       255.0.0.0       UG    0      
> 0        0 lo
> default         217.5.98.87     0.0.0.0         UG    0      
> 0        0 ppp0
> 
> My other boxes are configured well and shouldn't require any 
> changes. If i boot the router with my SuSE system, everything 
> works well. Each time i'm booting the router with my gentoo 
> system, only the router can reach the internet (ping).
> 
> Maybe it's a kernel config problem again. I surfed thru' 
> countless online guides, manuals, FAQs, without success. So, 
> any ideas ?
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 

--
[EMAIL PROTECTED] mailing list

Reply via email to