Add section PF; infos for pfstat.conf

This commit is contained in:
HUC Stéphane 2021-07-28 01:38:44 +02:00
parent 0449d60e93
commit efc5d60124
Signed by: hucste
GPG Key ID: C4ED64222D9B037F
1 changed files with 16 additions and 0 deletions

View File

@ -7,6 +7,8 @@ dataviz projet to view the images created by [pfstat](https://www.benzedrine.ch/
*BSD Licensed 2-Clause*
⇒ pfstat.conf: personnal config files for IPv4, IPv6 (no Queue), for pfstat
- network interface: **em0**
- directory web: `/var/www/htdocs/pfstat`
⇒ pfstat.html: Responsive web page for project pfstat
- CSS: pure-min.css, styles.css
@ -30,6 +32,20 @@ dataviz projet to view the images created by [pfstat](https://www.benzedrine.ch/
## Configuration
### PF
⇒ modify your `/etc/pf.conf` to add:
```
set loginterface em0
```
Restart your PF:
```
# pfctl -nf /etc/pf.conf && pfctl -f /etc/pf.conf
```
### httpd
⇒ create need directory to publish the pfstat images: