[Bug]: WireGuard kill switch missing PostUp/PreDown rules
Closed this issue · 0 comments
billz commented
Code of Conduct
- I agree to follow this project's Code of Conduct.
Issue reporting checklist
- I have read and understand the issue reporting policy.
- I have read and followed the common sense checklist.
- I observed this bug on a clean install of a supported OS.
- I have followed the project prerequisites.
- I have searched this repository for existing issues.
- I checked the FAQ and official documentation.
- I am using an external wireless adapter.
- I have generated a RaspAP debug log and performed a self-diagnosis.
Operating System
Raspberry Pi OS (64-bit) Lite Bookworm
Installation method
Pre-built image
Onboard wireless chipset or external adapter?
Onboard wireless chipset
Hardware
Raspberry Pi 3 Model B+
RaspAP version
Latest
Other software or services running with RaspAP?
No other software
Contact details (optional)
No response
Bug description
The WG kill switch feature was just merged into to the public repo. it depends on PostUpEx/PreDown rule definitions in defaults.json. These exist in the Insiders repo but weren't applied when the feature was merged.
Steps to reproduce
- Enable the kill switch option in the WireGuard UI
- Choose Save settings
- Check the output with
sudo cat /etc/wireguard/wg.conf - Confirm that the additional IP tables rules are empty
Screenshots
No response
Additional context
Credit to @whisperdancer for reporting this.
Edit: updated credit to original bug reporter