[lug] @Home - A QUICK QUESTION.

Bonnell, Doug DBonnell at BreeceHill.com
Thu Aug 24 09:49:04 MDT 2000


There are two things you need to do:

     1. Verify that routing is indeed enabled. Look at
/proc/sys/net/ipv4/ip_forward. It
         must have a nonzero value for forwarding to be enabled. If you
check the BLUG
         archives, you will find a posting that I did that tells of a
scripting problem in
         Redhat 6.2 that doesn't enable forwarding properly. This MIGHT be a
"feature"
         of 6.1 as well.

     2. You must do ipchains also. I don't remember the exact syntax, but it
will be
         similar to this:

         ipchains -A  -i eth0 -s eth1 -j MASQ

         where eth0 is NIC #1 and eth1 is NIC#2.

Hope this helps,
Doug Bonnell


> On Wed, Aug 23, 2000 at 10:57:48PM -0700, nunar at mauromedia.net wrote:
> 
> > Hi All,
> > I'm trying to use my Redhat box as a firewall/router for my home
> network. I've got the linux
> > box working with @home but my windoze 2k box can't get out. Does anybody
> know what's
> > going on?
	>
> > Configuration:
> >    RedHat 6.1 Dual NIC's 
> > 	NIC #1 - 24.*.*.* (going out to @home) sub- 255.255.252.0
> > 	NIC #2 - 192.168.0.1 - Internal Network sub- 255.255.255.0
> > 	Enable IP routing is on.
> > 	No IPChains or Masq (yet)
> >    Win 2k 1 NIC - 192.168.0.50 sub- 255.255.255.0
	>
> > Any feedback or comments are welcome!
> >
> > Shannon
> > _______________________________________________
> > Web Page:  http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> 
> -- 
> -----
> Michael J. Pedersen
> Get GnuPG at http://www.gnupg.org
> My GnuPG Key Fingerprint: C31C 7E90 5992 9E5E 9A02 233D D8DD 985E 4E72
> 4A60
> My GnuPG Public Key Available At: http://www.keyserver.net




More information about the LUG mailing list