Hi,
Hope all are doing well.
I am trying to set up a HTTPS traffic alone route to another machine ip instead of default route .
So I am trying the "route-to" option in PF.
It's not working and getting syntax errors.
Please help me on this.
Hope all are doing well.
I am trying to set up a HTTPS traffic alone route to another machine ip instead of default route .
So I am trying the "route-to" option in PF.
Code:
lan_net="172.20.0.0/16"
int_if="vtnet0"
ext_gw="172.20.133.221"
block in
block out
pass in on $int_if proto tcp from $lan_net to port https route-to $ext_gw
Please help me on this.