Skip to content

experimental script(s) for setting up FreeBSD's pf firewall

License

Notifications You must be signed in to change notification settings

johnko/freebsd-pf-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

freebsd-pf-script

experimental script(s) for setting up FreeBSD's pf firewall

Usage

Setup /etc/pf/pf.conf

gdf

Check for bad login attempts

pf-sshinvaliduserip -a

Add invalid login attempts to blacklist by ip

pf-sshinvaliduserip block

View your sshban list

pf-table show sshban

Remove an item from your sshban list

pf-table remove sshban 8.8.8.8

If your pf automatically tracks ssh abusers by adding them to an sshban table, you can migrate them to a black table

pf-move-sshban-to-black

FAQ

Why call it gdf?

Because I needed to configure a god damn firewall.

About

experimental script(s) for setting up FreeBSD's pf firewall

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages