Pfctl Konsole

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

Shortview

pf deactivate

  • pfctl -d

pf activate

  • pfctl -e

read rules from another directory

  • pfctl -ef /home/thomas/pf.conf

load default-rules

  • pfctl -f /etc/pf.conf

short state info

  • pfctl -s info

detailinfo to every rule

  • pfctl -vs info

show firewall rules

  • pfctl -sr

show NAT rules

  • pfctl -sn

show all

  • pfctl -sa

states

  • pfctl -s state

oder

  • pftop

reset all states

  • pfctl -F state

reset some states

  • pfctl -k x.x.x.x
  • pfctl -k 0.0.0.0/0 -k x.x.x.x