Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2014 07:40:03 +1100
From:      Stephen Hocking <stephen.hocking@gmail.com>
To:        hackers@freebsd.org
Subject:   Fun with PF & redirection
Message-ID:  <CA%2BxzKjDzVXJomaYzF3ju1cxEchTVw7NN=OtpSoxeEYdr6AHPAA@mail.gmail.com>

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

I'm using PF on a 10.1 box, and am trying to redirect a range of ports to a
single port, with a rule like this:

rdr on $ext_if proto tcp from any to any port 65334:5044 -> $spoof_host
port $spoof_port

spoof_host has been set to 127.0.0.1.

This does not seem to work. Any ideas?


   Stephen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BxzKjDzVXJomaYzF3ju1cxEchTVw7NN=OtpSoxeEYdr6AHPAA>