Fun with PF & redirection

Stephen Hocking stephen.hocking at gmail.com
Sun Dec 21 20:40:04 UTC 2014


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


More information about the freebsd-hackers mailing list