Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2001 07:47:23 -0500 
From:      Johnny.Dang@msmail.unitedway.org
To:        FREEBSD-IPFW@FREEBSD.ORG
Subject:   IPFW and NATD--Please help me!
Message-ID:  <C915D109E79FD211B4970060089F229488CF2F@msmail.unitedway.org>

Next in thread | Raw E-Mail | Index | Archive | Help
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01C0A316.F0FA214A
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C0A316.F0FA214A"


------_=_NextPart_001_01C0A316.F0FA214A
Content-Type: text/plain;
	charset="iso-8859-1"

Hi all,
First of all, I am sorry if this is wrong mailing list. However, I do
desparetely need some help here. My name is Johnny Dang. I have been running
RedHat Linux 6.1, 6.2 and 7.0.... I use it as a
Router/Firewall/IPMASQUERADING for a small church in Silver Spring... I
don't want them to pay for Microsoft since they don't make money out of it.
Anyway, I am getting with the anarchy of Linux so overheard of FreeBSD, I
decide to subcribce (rather than download for free--I want to keep the
FreeBSD alive) the 4.2 CDs. To be honest, I am in love with at the first
moment...I DO NOT WANT TO BACK TO REDHAT.... 

Like I mention above, I try to reset the new FreeBSD as a
ROUTER/Firewall/NATD in this case.  I did make the NATD work (all PC in the
internal now have access to the Internet--eventhough it is a wide opened
firewall)...The problem I have now is I cannot redirect the traffic from
outside to the inside. For example, I will have another FreeBSD running WWW
amd Mail server.  I cannot redirect the tcp port 80, 443, nor 22, 23 to
another internal PC. I read the NATD manual, and IPFW manual.. Still, I have
no luck. I read all the FreeBSD diary, other web sites. Still have no luck.
Can you all help me? I need steps by steps, or any good book about NATD and
IPFW? Also, should I move to IP-NAT or IP-Filter? Can I use IPFWADM from
Linux or IPCHAINS? Please help. I try to IP alias last night until 2:00AM
with no luck... Here is my network:

Internet ------ Free BSD (two NICS)-------------------------->PC 1 (WWW +
Mail Server)---------PC 2- (telnet)-----Local LAN
	       IP1: 123.123.123.123		      IP 192.168.1.2
IP 192.168.1.5	192.168.1.10-25
	       IP2: 192.168.1.1			    
	       IPFIREWALL
	       IPDIVERT

I can not run the most basic IPFW script (wide open)... I can wait to read
and change the script later... But I need to know how to redirect the
traffic from outside (ports 80, 443, 22, 23, and 25) to the local LAN...
Please help me. A good script, a web site, a white paper, or even a good
book... Thanks for your help.





------_=_NextPart_001_01C0A316.F0FA214A
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>IPFW and NATD--Please help me!</TITLE>
</HEAD>
<BODY>

<P><FONT COLOR=3D"#0000FF" FACE=3D"Arial Narrow">Hi all,</FONT>
<BR><FONT COLOR=3D"#0000FF" FACE=3D"Arial Narrow">First of all, I am =
sorry if this is wrong mailing list. However, I do desparetely need =
some help here. My name is Johnny Dang. I have been running RedHat =
Linux 6.1, 6.2 and 7.0.... I use it as a Router/Firewall/IPMASQUERADING =
for a small church in Silver Spring... I don't want them to pay for =
Microsoft since they don't make money out of it. Anyway, I am getting =
with the anarchy of Linux so overheard of FreeBSD, I decide to =
subcribce (rather than download for free--I want to keep the FreeBSD =
alive) the 4.2 CDs. To be honest, I am in love with at the first =
moment...I DO NOT WANT TO BACK TO REDHAT.... </FONT></P>

<P><FONT COLOR=3D"#0000FF" FACE=3D"Arial Narrow">Like I mention above, =
I try to reset the new FreeBSD as a ROUTER/Firewall/NATD in this =
case.&nbsp; I did make the NATD work (all PC in the internal now have =
access to the Internet--eventhough it is a wide opened firewall)...The =
problem I have now is I cannot redirect the traffic from outside to the =
inside. For example, I will have another FreeBSD running WWW amd Mail =
server.&nbsp; I cannot redirect the tcp port 80, 443, nor 22, 23 to =
another internal PC. I read the NATD manual, and IPFW manual.. Still, I =
have no luck. I read all the FreeBSD diary, other web sites. Still have =
no luck. Can you all help me? I need steps by steps, or any good book =
about NATD and IPFW? Also, should I move to IP-NAT or IP-Filter? Can I =
use IPFWADM from Linux or IPCHAINS? Please help. I try to IP alias last =
night until 2:00AM with no luck... Here is my network:</FONT></P>

<P><FONT COLOR=3D"#0000FF" FACE=3D"Arial Narrow">Internet ------ Free =
BSD (two NICS)--------------------------&gt;PC 1 (WWW + Mail =
Server)---------PC 2- (telnet)-----Local LAN</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR=3D"#0000FF" =
FACE=3D"Arial Narrow">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IP1: =
123.123.123.123&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IP 192.168.1.2&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IP 192.168.1.5&nbsp;&nbsp; =
192.168.1.10-25</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR=3D"#0000FF" =
FACE=3D"Arial Narrow">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IP2: =
192.168.1.1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR=3D"#0000FF" =
FACE=3D"Arial Narrow">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
IPFIREWALL</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR=3D"#0000FF" =
FACE=3D"Arial Narrow">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
IPDIVERT</FONT>
</P>

<P><FONT COLOR=3D"#0000FF" FACE=3D"Arial Narrow">I can not run the most =
basic IPFW script (wide open)... I can wait to read and change the =
script later... But I need to know how to redirect the traffic from =
outside (ports 80, 443, 22, 23, and 25) to the local LAN... Please help =
me. A good script, a web site, a white paper, or even a good book... =
Thanks for your help.</FONT></P>
<BR>
<BR>

<P><FONT FACE=3D"Arial" SIZE=3D2 COLOR=3D"#000000"></FONT>&nbsp;

</BODY>
</HTML>
------_=_NextPart_001_01C0A316.F0FA214A--

------_=_NextPart_000_01C0A316.F0FA214A
Content-Type: application/octet-stream;
	name="Johnny Dang (E-mail).vcf"
Content-Disposition: attachment;
	filename="Johnny Dang (E-mail).vcf"

BEGIN:VCARD
VERSION:2.1
N:Dang;Johnny
FN:Johnny Dang (E-mail)
TITLE:MCSE
TEL;WORK;VOICE:(703) 836-7122 #405
TEL;HOME;VOICE:(301) 439-3097
TEL;CELL;VOICE:(240) 461-7851
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;9304 Piney Branch Road =0D=0A#105;Silver Spring;MD;20903;United States of =
America
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:9304 Piney Branch Road =0D=0A#105=0D=0ASilver Spring, MD 20903=0D=0AUnited S=
tates of America
EMAIL;PREF;INTERNET:johnny.dang@johnnydang.net
REV:20001103T135005Z
END:VCARD

------_=_NextPart_000_01C0A316.F0FA214A--

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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?C915D109E79FD211B4970060089F229488CF2F>