vps_-_freebsd_setup_pf
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
vps_-_freebsd_setup_pf [2023/09/12 05:40] – created hc9 | vps_-_freebsd_setup_pf [2023/12/02 05:00] (current) – [Setting up PacketFilter (pf) on FreeBSD] m( hc9 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{example: | + | {{example: |
====== Setting up PacketFilter (pf) on FreeBSD ====== | ====== Setting up PacketFilter (pf) on FreeBSD ====== | ||
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 ''/ | + | Pf rulesets are stored in a configuration file at ''/ |
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. | ||
Line 25: | Line 25: | ||
</ | </ | ||
- | Edit ''/ | + | Edit ''/ |
< | < |
vps_-_freebsd_setup_pf.1694497241.txt.gz · Last modified: 2023/09/12 05:40 by hc9