Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2003 11:48:07 -0400
From:      "Tom Servo" <xtomservox@hotpop.com>
To:        <freebsd-newbies@freebsd.org>
Subject:   Packet redirect
Message-ID:  <0193271C683D5844A478A359271B8F66147AFB@DC1.dynatec.com>

index | next in thread | raw e-mail

Hey-
I have a freebsd gateway machine that runs ipfw and nat for my home network
and I want to add a rule that redirects VNC packets through the gateway to
my windows machine so that I can VNC to my home machine to do some stuff.
How should I phrase the rule correctly without screwing up the natd service?
I am guessing it should go something like this:
ipfw add 1000 divert 8888 ip from any to 192.168.0.253:5800 via ep1
Is this correct?  I need it to only redirect packets for the VNC port.
Thanks
-ts

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"On really romantic nights of self, I go salsa dancing with my confusion."



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0193271C683D5844A478A359271B8F66147AFB>