Hello!
Could you please help me configure PF? I have a problem in redirecting ssh traffic to an internal interface, here are the rules from my pf.conf:
I've tried to use tcpdump for debugging, as a result I saw ssh packages with S flag coming into the external interface ($if_ext), and didn't see any traffic coming into the internal interface ($if_int).
Could you please help me configure PF? I have a problem in redirecting ssh traffic to an internal interface, here are the rules from my pf.conf:
Code:
allowed_ports = { 22 }
scrub in all
rdr log on $if_ext inet proto tcp from any to ($if_ext) port $allowed_ports -> $if_int:0
....
block in all
pass in quick on $if_ext inet proto tcp from any to $if_int:0 port $allowed_ports flags S/SA keep state