fix: revert to using #Access for firewall targets to prevent routing loops

This commit is contained in:
datadunia
2026-04-29 18:48:35 +07:00
parent 89546d31c3
commit ee67ae16dd
3 changed files with 16 additions and 19 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ main() {
echo '{"clients":{}}' > "$tmp_policy"
# Parse peers from wg0.conf
# AWK extracts client IP and target IPs from AllowedIPs per [Peer] block
# AWK extracts IP and #Access comment per [Peer] block
local parse_errors=0
awk '