This is a very simple IPTABLES/NAT config. It offers almost no firewall protection.
Check www.netfilter.org to write more rules to protect yourself better. type iptables-restore then enter the following (copy and paste is ok)(Remove the > > # Generated by iptables-save v1.2.7a on Thu Jul 3 11:34:43 2003 > *nat > :PREROUTING ACCEPT [216973:13496157] > :POSTROUTING ACCEPT [202089:10090729] > :OUTPUT ACCEPT [204167:10395135] > -A POSTROUTING -o eth1 -j MASQUERADE > COMMIT > # Completed on Thu Jul 3 11:34:43 2003 > # Generated by iptables-save v1.2.7a on Thu Jul 3 11:34:43 2003 > *mangle > :PREROUTING ACCEPT [56950369:49083764575] > :INPUT ACCEPT [17556499:16936553674] > :FORWARD ACCEPT [39393105:32147095245] > :OUTPUT ACCEPT [9587007:1685154078] > :POSTROUTING ACCEPT [48984258:33833157312] > COMMIT > # Completed on Thu Jul 3 11:34:43 2003 > # Generated by iptables-save v1.2.7a on Thu Jul 3 11:34:43 2003 > *filter > :INPUT ACCEPT [17556499:16936553674] > :FORWARD ACCEPT [22830152:25651969569] > :OUTPUT ACCEPT [9587007:1685154078] > -A FORWARD -i eth0 -j ACCEPT > COMMIT > Check the website for more details and some good reading. -Mike On Thu, 2003-07-03 at 11:29, Daniel Dui wrote: > Here is my problem: > > I have a RH9 box with two network cards. One network card connects to a > cable modem and the other to a hub. I would like to share the Internet > connection with other computers in the house. > > I was hoping to find a "share connection" tick box somewhere in the > network configuration options, but I could not. > > I had a look at various howtos, but they look much more complicated than > they should be. All I am trying to do is set up a little home network! I > am surprised that still there is not a simple and easy way to do a > simple and easy thing in RH9. > > Can anyone provide any clue? > > many thanks > > -daniel > > -- Michael Gargiullo <[EMAIL PROTECTED]> Warp Drive Networks -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
