Hello,
From pfctl man page i know how to flush and disable/enable pf. But how can i remove from CLI only one rule, without full flushing and reload config file ?
For example, i add on-the-fly command for port forwarding:
And want to remove only this rule. It is possible ?
From pfctl man page i know how to flush and disable/enable pf. But how can i remove from CLI only one rule, without full flushing and reload config file ?
For example, i add on-the-fly command for port forwarding:
Code:
echo 'rdr pass proto tcp from any to any port 37 -> 10.0.0.2' | pfctl -f -
And want to remove only this rule. It is possible ?