Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2006 21:44:17 -0400
From:      "Tom Cruickshank" <tcruicksh@gmail.com>
To:        <freebsd-ipfw@freebsd.org>
Subject:   question about ipfw syntax
Message-ID:  <444c2c7c.6e806909.2a41.3c8e@mx.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

     I=92m running Freebsd 6.0 and trying to do port forwarding on port =
5000
using ipfw.

=20

Here is what I currently have.

Cmd =3D =93ipfw =96q add =94 =20

=20

=20

$cmd 00530 accept all from any any to <external ip> 5000 in via fxp0

$cmd 00535 accept all from any any to <internal ip of computer> 5000 out =
via
fxp0

/sbin/natd -n fxp0 redirect_port tcp <internal ip>:5000 5000

=20

=20

Would this be the correct method to have port 5000 open on my firewall?

=20

Please let me know. Thanks.

=20

Tom

=20


--=20
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.5/322 - Release Date: 4/22/2006
=20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?444c2c7c.6e806909.2a41.3c8e>