Jesse Angell wrote:

> How do i setup my linux box to be a router so i can share my cable modem to
> other computers on the network. I do not have X installed...
> 
> Jesse Angell
> 
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
> 

Well what version linux?

IF it is Mandrake 8.1, just login as or su to root and run

# drakgw

Your other computers should then be configured for dhcp and set

192.168.0.1

as their default gateway.

If it si 8.0 or even 7.2, then do the same.

If it is a kernel with ipchains (kernel 2.2, usually) then do this in 
/etc/rc.local

ipchains -P forward DENY
ipchains -A forward -i eth0 -j MASQ
echo "1" > /proc/sys/net/ipv4/ip_forward

Civileme


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to