On Mon, Jun 15, 2009 at 04:52:17PM -0700, Matthew Dempsky wrote:
> On Mon, Jun 15, 2009 at 2:52 PM, Jason Dixon<ja...@dixongroup.net> wrote:
> > One of our internal customers asked me to setup a bypass rule for some
> > outbound SMTP tests so that they could send to a specific high port
> > (e.g. 60025) and have it redirect to port 25 on the same target.
> 
> You can abuse the bitmask pool flag for this:
> 
> rdr on $intif proto tcp to any port 60025 -> 0.0.0.0/0 port 25 bitmask

Brilliant, thanks!

-- 
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/

Reply via email to