From owner-freebsd-questions Wed Jan 10 6:27:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hermes.abraxas365.com (mail.abraxas365.com [196.38.80.83]) by hub.freebsd.org (Postfix) with ESMTP id C18A637B400 for ; Wed, 10 Jan 2001 06:26:53 -0800 (PST) Received: from Jenny ([172.16.100.149]) by hermes.abraxas365.com with Microsoft SMTPSVC(5.0.2195.1600); Wed, 10 Jan 2001 16:29:16 +0200 Message-ID: <00ca01c07b11$4ccdf380$956410ac@abraxas365.com> From: "Adriaan Rossouw" To: Subject: Firewall + Nat + Gateway with ONE / A SINGLE / 1 NIC card. Date: Wed, 10 Jan 2001 16:26:19 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00C7_01C07B22.102D90A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-OriginalArrivalTime: 10 Jan 2001 14:29:16.0242 (UTC) FILETIME=[B5E07320:01C07B11] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_00C7_01C07B22.102D90A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable As the subject shows, i only have a single NIC card at my disposal.=20 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=3D"YES" firewall_enable=3D"YES" firewall_type=3D"open" natd_enable=3D"YES" natd_interface=3D"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 ------=_NextPart_000_00C7_01C07B22.102D90A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
As the subject shows, i only have a = single NIC card=20 at my disposal.
I have one public IP. and one private = IP aliases=20 (192.168.0.1 FYI)
The machine is accessable via both IP's = .. now i=20 want requests going from
the 192.168.0.x network to public = address space, to=20 go through the bsd box
etc. (NAT).
 
I have taken the following steps after = reading the=20 Howto's on the internet.
1) Recompiled my kernel with IPFIREWALL = and=20 IPDIVERT options
2) added the following to = rc.conf
   =20 gateway_enable=3D"YES"
   =20 firewall_enable=3D"YES"
   =20 firewall_type=3D"open"
    = natd_enable=3D"YES"
   =20 natd_interface=3D"ed0"
 
 
Now. what about this setup is wrong, = and what do i=20 further need to do to complete this.
 
 
Thanks in advance, if there is any more = information=20 i can furnish you with. Please dont hesitate to ask.
After all, I'm the one asking for=20 help.
 
Regards
  Adriaan AKA Vertice
 
------=_NextPart_000_00C7_01C07B22.102D90A0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message