I think you may use the PII 450 128RAM as your server... Just boot it in text mode if it will just function as a gateway...
But then you need two ethernet cards, one is connected to the modem w/c should dynamically get its ip from the modem... and the other one connected to your hub just use a static ip (ex 192.168.0.1)
then I run the ff. script...
echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/iptables -F
/sbin/iptables -X
/sbin/iptables -P INPUT ACCEPT
/sbin/iptables -P OUTPUT ACCEPT
/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables -t nat -A POSTROUTING -s 192.168.1.0/8 -o eth0 -j MASQUERADE
These scripts enable your box to become a router that will
accept requests coming from 192.x.x.x and forward the requests to the
internet. If you want to automatically run these scripts every time you
boot the system, just append these scripts in /etc/rc.local (not sure here... Kuya Mhac?)
Configure your clients whether they're on windows or linux with
these settings:
a. An ipaddress that starts with 192
b. The gateway ipaddress pointing to your linux router, in this
example it would be 192.168.0.1
c. The DNS ip address, you can call your provider for this...
Sana makatulong....
--
Alexander P. Santiago
Registered Linux User # 384399
another Forever Linux Newbie
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

