Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2000 23:01:14 -0700
From:      "Crist J . Clark" <cjclark@reflexnet.net>
To:        Martin Moeller <martian@t-online.de>
Cc:        questions@FreeBSD.ORG
Subject:   Re: IP masquerading
Message-ID:  <20000922230114.K367@149.211.6.64.reflexcom.com>
In-Reply-To: <20000922100824.A163@theol.phicom.net>; from martian@t-online.de on Fri, Sep 22, 2000 at 10:08:24AM %2B0200
References:  <20000922100824.A163@theol.phicom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 22, 2000 at 10:08:24AM +0200, Martin Moeller wrote:
> Let me (newbie) proudly tell you that I've succeeded in configuring
> my ISDN connection! :)) Wow, that was not as simple as I thought
> but it was fun!
> 
> And now I'm heading towards new adventures:
> 
> I still have two OS/2 machines that I want to connect to the
> internet via the FreeBSD box. This is my network configuration:
> 
> FreeBSD:   ed0 (192.168.1.2) -> local
>            isp0 (0.0.0.0 [dynamically assigned]) -> world
> Warp_1:    eth0 (192.168.1.1)
> Warp_2:    eth0 (192.168.1.3)
> 
> I've already found out that I have to use the
> IPFIREWALL, IPDIVERT, (IPFIREWALL_DEFAULT_TO_ACCEPT)
> kernel options.        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Not needed. Avoid. Other ones are good. You probably want to add
IPFIREWALL_VERBOSE and IPFIREWALL_VERBOSE_LIMIT too.

> I've never configured a firewall before. What rules
> do I have to set?

When getting things up and running, just use,

  firewall_enable="YES"
  firewall_type="open"
  natd_enable="YES"
  natd_interface="isp0"
  gateway_enable="YES"

And the default firewall config should be fine assuming you get your
interfaces right and all. Once you verify that works, start
customizing /etc/rc.firewall. 

> If there's any IP masquerading crack out there,
> who can help me start going, please do so... :)

"IP masquerading?" What's that? You mean NAT?
-- 
Crist J. Clark                           cjclark@alum.mit.edu


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000922230114.K367>