Skip to content

Change default 'pf' file to /usr/local/etc/bastille/pf.conf#1533

Merged
tschettervictor merged 8 commits intomasterfrom
pffix
Apr 19, 2026
Merged

Change default 'pf' file to /usr/local/etc/bastille/pf.conf#1533
tschettervictor merged 8 commits intomasterfrom
pffix

Conversation

@tschettervictor
Copy link
Copy Markdown
Collaborator

@tschettervictor tschettervictor commented Apr 18, 2026

This should fix an issue with users who already have pf configured. It puts the default file into the bastille config directory, and adds an include statement in the main pf.conf file at the very top.

Since pf is a last rule wins firewall, the bastille rules should not override the already configured ones.

When testing, be sure to change the bastille_pf_conf variable to the one in the sample file, which should be /usr/local/etc/bastille/pf.conf

@koplenov

@tschettervictor tschettervictor merged commit af84cfd into master Apr 19, 2026
1 check passed
@tschettervictor tschettervictor deleted the pffix branch April 19, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant