Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2002 17:57:46 +0100
From:      Mike Dewhirst <m@devzerog.com>
To:        freebsd-ipfw@freebsd.org
Subject:   divert a port to another ip
Message-ID:  <3D45740A.2000704@devzerog.com>

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

If I want to divert all requests on a certain port to another ip address 
and another port, e.g.

80.0.0.123:666 --> 192.10.10.5:22

what would be the rule? I thought:

divert 8668 tcp from any 666 to 192.10.10.5 22 via xl0

8668 is the natd port (I think) - I have this rule that works:
divert 8668 ip from any to any via xl1

But it doesn't seem to work. Any ideas?

Also, what is a good online resource for ipfw?

Thanks for any advice in advance!

Mike


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ipfw" in the body of the message




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