From owner-freebsd-ipfw Fri Mar 2 5:40:22 2001 Delivered-To: freebsd-ipfw@freebsd.org Received: from ra.upan.org (ra.upan.org [204.107.76.19]) by hub.freebsd.org (Postfix) with ESMTP id 3D28F37B719 for ; Fri, 2 Mar 2001 05:40:18 -0800 (PST) (envelope-from mikel@ocsinternet.com) Received: from ocsinternet.com (localhost.upan.org [127.0.0.1]) by ra.upan.org (8.11.1/8.11.1) with ESMTP id f22DeRH34546; Fri, 2 Mar 2001 08:40:27 -0500 (EST) (envelope-from mikel@ocsinternet.com) Message-ID: <3A9FA2CB.E07DC0D2@ocsinternet.com> Date: Fri, 02 Mar 2001 08:40:27 -0500 From: Mikel King Organization: OCS Internet X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Johnny.Dang@msmail.unitedway.org Cc: FREEBSD-IPFW@FreeBSD.ORG Subject: Re: IPFW and NATD--Please help me! References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John, Two things it would be helpful if you lost the html formating in you mail to the lists as well as turn wrapping onto say 67 characters. Most of the poeople wo would otherwise respond cat not becasue your request isn't readable to them at all. Take moment to try reading you mail ine pine or mutt and you'll understand. Ok and now secondly, please submit a copy of the relevant bits from your kernel.conf, rd.natd, rc.firewall so that we may help you. On a side note how many outside IP addresses do you actually have? Cheers, Mikel Johnny.Dang@msmail.unitedway.org wrote: > > > 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. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message