Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2001 01:19:32 -0700
From:      "Russ" <Russell@tecmaster.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Ipfw port forwarding ???
Message-ID:  <000e01c10919$0c51bbc0$0500000a@russhome.tecmaster.com>

next in thread | raw e-mail | index | archive | help
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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Help anyone !!!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Running FreeBSD 4.2 </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm trying to port forward using ipfw. =
I seem to be=20
getting a syntax error, after entering the following =
command.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>"ipfw add 01155 allow fwd 10.0.0.10 tcp =
from=20
XX.XXX.XXX.X/24 to any 21 in recv tun0".</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>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??????</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>P.S tun0(natd is running on tun0) is =
a&nbsp;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.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thankfull for any Help !!!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Russell</FONT></DIV></BODY></HTML>

------=_NextPart_000_000B_01C108DE.5FA69880--


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?000e01c10919$0c51bbc0$0500000a>