Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2001 22:19:53 EST
From:      Isomer1@aol.com
To:        freebsd-newbies@freebsd.org
Subject:   cable modem gateway
Message-ID:  <b5.78f869a.27c9d3d9@aol.com>

next in thread | raw e-mail | index | archive | help

--part1_b5.78f869a.27c9d3d9_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

I think I may go mad.
I installed 4.2 this morning via ftp, the install went fine.
I'm attempting to set up this freebsd machine as a gateway
between my cable modem and internal network.

I have tried the FreeBSD 'Handbook' but the section on
networking is useless.  I have managed to piece together
some idea of what needs to be done from freebsddiary.org
and newsgroup tidbits.

I have NOT rebuilt the kernel, I'm assuming since the install
asks "Enable Gateway?" that the default 4.2 installation must
include the IPFIREWALL and IPDIVERT options already enabled.
The machines can reach one another, the cable modem lights
up when the internal machines attempt to talk out, but the outside
worlds response does not get back to the internal machines.

in /etc/rc.conf I added:
       firewall_enable = yes
in /etc/rc.firewall I added:
       /sbin/ipfw -f flush
       /sbin/ipfw add divert natd all from any to any via de0
       /sbin/ipfw add pass all from any to any
also done:
       natd -interface de0

any assistance would be appreciated
-Ralph N.
Isomer1@aol.com

--part1_b5.78f869a.27c9d3d9_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

<HTML><FONT FACE=arial,helvetica><FONT  SIZE=2>I think I may go mad.
<BR>I installed 4.2 this morning via ftp, the install went fine.
<BR>I'm attempting to set up this freebsd machine as a gateway
<BR>between my cable modem and internal network.
<BR>
<BR>I have tried the FreeBSD 'Handbook' but the section on
<BR>networking is useless. &nbsp;I have managed to piece together
<BR>some idea of what needs to be done from freebsddiary.org
<BR>and newsgroup tidbits.
<BR>
<BR>I have NOT rebuilt the kernel, I'm assuming since the install
<BR>asks "Enable Gateway?" that the default 4.2 installation must
<BR>include the IPFIREWALL and IPDIVERT options already enabled.
<BR>The machines can reach one another, the cable modem lights
<BR>up when the internal machines attempt to talk out, but the outside
<BR>worlds response does not get back to the internal machines.
<BR>
<BR>in /etc/rc.conf I added:
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firewall_enable = yes
<BR>in /etc/rc.firewall I added:
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/sbin/ipfw -f flush
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/sbin/ipfw add divert natd all from any to any via de0
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/sbin/ipfw add pass all from any to any
<BR>also done:
<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;natd -interface de0
<BR>
<BR>any assistance would be appreciated
<BR>-Ralph N.
<BR>Isomer1@aol.com</FONT></HTML>

--part1_b5.78f869a.27c9d3d9_boundary--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b5.78f869a.27c9d3d9>