Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 00:11:09 -0500
From:      "Ryan Masse" <rmasse@mastery.ca>
To:        "FreeBSD-Questions" <freebsd-questions@freebsd.org>
Subject:   ipfw rule
Message-ID:  <006901c0a144$dd8801a0$fd00a8c0@Home>

next in thread | raw e-mail | index | archive | help
I'm trying to port forward from the oif to that of an internal address. I've
read 'man ipfw' and man 'natd' and came up with the following:

ipfw add 20 fwd 192.168.0.2,80 tcp from any to 192.168.0.1 80

192.168.0.1 being the oif

As a test i'm trying to access a page via httpd from the internal box from
the addy 192.168.0.1

Can anyone help me with my syntax or propose a better solution?

Thanks,

Ryan Masse
IT / Authoring Tech
Mastery Group of Canada, Inc.
Rmasse@mastery.ca
http://www.masterycanada.com



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?006901c0a144$dd8801a0$fd00a8c0>