[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PF parsing problem?
I *think* there is a parsing problem in pf. Consider the following rule:
rdr on $ext_if inet proto tcp from <outside_to_ssh> to $ext_if port 6620
-> 192.168.10.2 port 22
where outside_to_ssh is the following table:
table <outside_to_ssh> persist file "/etc/pf/conf/outside_to_ssh",
containing a single entry -> 0.0.0.0/0
The redirect rule is not working when 0.0.0.0/0 is defined in a table
(any type of table).
On the contrary,
rdr on $ext_if inet proto tcp from 0.0.0.0/0 to $ext_if port 6620 ->
192.168.10.2 port 22 works fine.
I hope i am not missing something,
Thank you in advance.