-
-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
iptables rules in hooks (e.g. Post-Up/Pre-Down) only apply on initial WireGuard interface creation. Editing hooks later (e.g., adding rules post-creation) does not trigger them, even after interface restart.
Expected behavior
Modifying hooks via UI should apply changes immediately or on interface restart, ensuring rules like iptables additions are executed.
Steps to reproduce
- Create WireGuard interface with empty hooks.
- Start interface; confirm no iptables rules added (e.g.,
iptables -L FORWARD). - Edit interface hooks to add Post-Up:
iptables -A FORWARD -i ens19 -o wg0 -d 10.10.10.0/24 -j ACCEPT. - Restart interface.
- Verify: Rules not added; ping replies still blocked.
Screenshots
N/A
Additional context
- Application version: v0.5.0 (latest Docker image)
- Install method: docker
- OS: Debian 13
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working