mirror of
https://github.com/hukl/freebsd-toolbox.git
synced 2025-11-20 03:08:43 +01:00
added two pf / firewall commands
This commit is contained in:
@ -96,6 +96,13 @@ netstat -an # display all connections
|
|||||||
/etc/rc.d/routing restart without rebooting. Execute in tmux or screen session
|
/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
|
# IPsec
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user