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

Re: [SLUG] Gateway Server



Lord Skippy wrote:
> 
> Hi all,
> I was wondering if anyone has the URL for a how to on how to change my
> routing table (I think thats right) so that I can use my 486 w/ redhat 6.0
> as a gateway.

like in your /etc/ppp/ip-up

route delete default dev eth0
route add default dev ppp0
route add -net 192.168.x.0 netmask 255.255.255.0 dev eth0
route add -net 192.168.y.0 netmask 255.255.255.0 dev eth0

and you have your choice of ipfwadm/ipchains/NAT running.

> Also how would I go about installating a second network card? I'm not sure
> how to do it since redhat configured my current one on installation.

Try the slug archives for earlier in this year. I think this has been
answered twice this year.


--
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: terryc@nospam.woa.com.au  www: http://www.woa.com.au  
       or terryc@nospam.zip.net.au 
   WOA Computer Services <lan/wan, linux/unix, novell>
   snail:  PO Box 1047, Campbelltown, NSW 2560.

 "People without trees are like fish without clean water"
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text