[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NAT rdr macro request



Is there any chance that future releases of PF will allow rdr rules to
target _without_ ports?  IOW, instead of having all of these rules:
rdr on $int_if proto tcp from $int_net to ($ext_if) port 80 ->
$webserver port 80
rdr on $int_if proto tcp from $int_net to ($ext_if) port 443 ->
$webserver port
443
rdr on $int_if proto tcp from $int_net to ($ext_if) port 25 ->
$webserver port 25
rdr on $int_if proto tcp from $int_net to ($ext_if) port 110 ->
$webserver port
110
rdr on $int_if proto tcp from $int_net to ($ext_if) port 10000 ->
$webserver port 10000
... you could simply have this one:
rdr on $int_if proto tcp from $int_net to ($ext_if) port $services ->
$webserver
If this *should* work, please let me know... I'm getting syntax errors. 
However, based on previous efforts and posts, I don't think this is
currently possible with PF.
TIA,
-J.