I am trying to change the route on a redirected package with no success, here are my lines on pf.conf
Here is the pf documentation mentioning that the pass out route must aply to my configuration.
That is that I am doing wrong ?
Code:
rdr on rl1 proto tcp from any to 192.168.250.21 port 8081 -> 192.168.35.123
pass out on rl1 route-to (rl1 192.168.250.31) from any to any keep state
Code:
Redirection and Packet Filtering
NOTE: Translated packets must still pass through the filter engine and will be blocked or passed based
on the filter rules that have been defined.
The only exception to this rule is when the pass keyword is used within the rdr rule. In this case, the
redirected packets will pass statefully right through the filtering engine: the filter rules won't be
evaluated against these packets.
That is that I am doing wrong ?