Size: 806
Comment:
|
Size: 858
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 49: | Line 49: |
== Firewall == Show rules: {{{ pfctl -sr }}} |
Contents
Install
Diske encryption
Thanks c0ffee.net for his description!
Configuration
Packages and updates
Remove packages
To remove a package with all his dependencies:
pkg remove PKGNAME pkg autoremove
Update base OS
To update the baseOS with security updates:
freebsd-update fetch freebsd-update install
To update a minor release
freebsd-update fetch freebsd-update install freebsd-update upgrade -r 12.1-RELEASE freebsd-update install reboot freebsd-update install freebsd-update install reboot
Tools
Network
Show all open ports and there processes:
sockstat -4 -l
Firewall
Show rules:
pfctl -sr