User Tools

Site Tools


vps_-_freebsd_setup_pf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
vps_-_freebsd_setup_pf [2023/09/12 05:44] hc9vps_-_freebsd_setup_pf [2023/12/02 04:56] – [Setting up PacketFilter (pf) on FreeBSD] m( hc9
Line 7: Line 7:
 //Default deny// and //default permit// are the two approaches to building a firewall. The default deny approach blocks all traffic and permits only traffic specified by a rule. The default permit does the opposite. It allows all traffic and blocks only traffic specified by a rule. This tutorial uses the default deny approach. //Default deny// and //default permit// are the two approaches to building a firewall. The default deny approach blocks all traffic and permits only traffic specified by a rule. The default permit does the opposite. It allows all traffic and blocks only traffic specified by a rule. This tutorial uses the default deny approach.
  
-Pf rulesets are stored in a configuration file at ''/etc/pf.conf''. It's okay to store thise file elsewhere as long as the location is specified in ''/etc/rc.conf''.+Pf rulesets are stored in a configuration file at ''/etc/pf.conf''. It's okay to store this file elsewhere as long as the location is specified in ''/etc/rc.conf''.
  
 This tutorial adds rules to control SSH traffic. Before starting ensure that you can access your SDF VPS console. It is recommended to connect to your VPS through the console for this tutorial to avoid inadvertently locking yourself out via SSH. This tutorial adds rules to control SSH traffic. Before starting ensure that you can access your SDF VPS console. It is recommended to connect to your VPS through the console for this tutorial to avoid inadvertently locking yourself out via SSH.
vps_-_freebsd_setup_pf.txt · Last modified: 2023/12/02 05:00 by hc9