View Single Post
  #3   (View Single Post)  
Old 13th October 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,984
Default

Thinking about this a little more, if I had this need, I would use PF's port redirection capabilities rather than modifying /etc/services.

Of course, I would do my best to avoid the need.

An untested example:
Code:
pass in log proto tcp from $external_net to any port 3030 \
        rdr-to 127.0.0.1 port 21
Reply With Quote