From owner-freebsd-questions Tue Jul 10 1:20:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from antigonus.hosting.pacbell.net (antigonus.hosting.pacbell.net [216.100.98.13]) by hub.freebsd.org (Postfix) with ESMTP id 561F337B443 for ; Tue, 10 Jul 2001 01:20:24 -0700 (PDT) (envelope-from Russell@tecmaster.com) Received: from RR (adsl-63-205-8-27.dsl.scrm01.pacbell.net [63.205.8.27]) by antigonus.hosting.pacbell.net id EAA24208; Tue, 10 Jul 2001 04:20:13 -0400 (EDT) [ConcentricHost SMTP Relay 1.7] Message-ID: <000e01c10919$0c51bbc0$0500000a@russhome.tecmaster.com> From: "Russ" To: Subject: Re: Ipfw port forwarding ??? Date: Tue, 10 Jul 2001 01:19:32 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01C108DE.5FA69880" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_000B_01C108DE.5FA69880 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Help anyone !!! Running FreeBSD 4.2=20 I'm trying to port forward using ipfw. I seem to be getting a syntax = error, after entering the following command. "ipfw add 01155 allow fwd 10.0.0.10 tcp from XX.XXX.XXX.X/24 to any 21 = in recv tun0". I am stumped on the syntax for the "fwd" command stuff.......eeekkkkkk. = Someone with some kind of example using the "fwd" action that does not = produce a syntax error?????? P.S tun0(natd is running on tun0) is a DSL point-to-point connection of = which Im trying to forward to an internal Linux-Red Hat machine at = 10.0.0.10. Thankfull for any Help !!! Russell ------=_NextPart_000_000B_01C108DE.5FA69880 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Help anyone !!!
 
Running FreeBSD 4.2
 
I'm trying to port forward using ipfw. = I seem to be=20 getting a syntax error, after entering the following = command.
"ipfw add 01155 allow fwd 10.0.0.10 tcp = from=20 XX.XXX.XXX.X/24 to any 21 in recv tun0".
 
I am stumped on the syntax for the = "fwd" command=20 stuff.......eeekkkkkk. Someone with some kind of example using the "fwd" = action=20 that does not produce a syntax error??????
 
P.S tun0(natd is running on tun0) is = a DSL=20 point-to-point connection of which Im trying to forward to an internal = Linux-Red=20 Hat machine at 10.0.0.10.
 
Thankfull for any Help !!!
 
Russell
------=_NextPart_000_000B_01C108DE.5FA69880-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message