Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2001 21:42:01 -0500
From:      "Otter" <otterr@telocity.com>
To:        "Adriaan Rossouw" <adriaanr@abraxas365.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Firewall + Nat + Gateway with ONE / A  SINGLE / 1 NIC card.
Message-ID:  <HLEDJBJKDDPDJBMGCLPPMEBNCPAA.otterr@telocity.com>
In-Reply-To: <00ca01c07b11$4ccdf380$956410ac@abraxas365.com>

next in thread | previous in thread | raw e-mail | index | archive | help
First, you need to send email messages to this list in text format
instead of HTML. Second, you can finish  reading the natd man page. It
tells you the appropriate lines to add to your /etc/rc.firewall. Other
than that, you look like you're on the right track.
-Otter

-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Adriaan
Rossouw
Sent: Wednesday, January 10, 2001 9:26 AM
To: freebsd-questions@FreeBSD.ORG
Subject: Firewall + Nat + Gateway with ONE / A SINGLE / 1 NIC card.


As the subject shows, i only have a single NIC card at my disposal.
I have one public IP. and one private IP aliases (192.168.0.1 FYI)
The machine is accessable via both IP's .. now i want requests going
from
the 192.168.0.x network to public address space, to go through the bsd
box
etc. (NAT).

I have taken the following steps after reading the Howto's on the
internet.
1) Recompiled my kernel with IPFIREWALL and IPDIVERT options
2) added the following to rc.conf
    gateway_enable="YES"
    firewall_enable="YES"
    firewall_type="open"
    natd_enable="YES"
    natd_interface="ed0"


Now. what about this setup is wrong, and what do i further need to do
to complete this.


Thanks in advance, if there is any more information i can furnish you
with. Please dont hesitate to ask.
After all, I'm the one asking for help.

Regards
  Adriaan AKA Vertice



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?HLEDJBJKDDPDJBMGCLPPMEBNCPAA.otterr>