Firewall Configuration
| Firewall Configuration |
Firewall Configuration
/etc/pf.conf - main firewall configuration
set skip on lo0 - skip loopback interface
pass in on egress proto tcp from any to any port { 22 80 443 } - allow SSH, HTTP, HTTPS
block in all - default deny
pfctl -f /etc/pf.conf - load rules
pfctl -s rules - show rules summary"
Next: Install PHP
Article author: Arthur Isaev