From b2b613143529ebc71ce91bad75e9a8e78c3d0b98 Mon Sep 17 00:00:00 2001 From: John-Paul Bader Date: Sat, 17 May 2014 09:29:51 +0200 Subject: [PATCH] added two pf / firewall commands --- commands.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/commands.md b/commands.md index 73631f7..cf8320e 100644 --- a/commands.md +++ b/commands.md @@ -96,6 +96,13 @@ netstat -an # display all connections /etc/rc.d/routing restart without rebooting. Execute in tmux or screen session ``` +# Firewall + +``` +pfctl -si # show current state table and counters (useful for tuning) +pfctl -s state # show current content of state table +``` + # IPsec ```