mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-02-20 03:36:16 +00:00
update route policy RETURN to firewall instead of accepting and skipping other rules.
This commit is contained in:
@@ -200,7 +200,7 @@ def generate_route_policy_rules():
|
||||
for source in sources:
|
||||
for destination in destinations:
|
||||
route_policy_rules += (
|
||||
f"iptables -t filter -A WGWADM_ROUTE_POLICY -i wg+ -s {source} -d {destination} -j ACCEPT\n"
|
||||
f"iptables -t filter -A WGWADM_ROUTE_POLICY -i wg+ -s {source} -d {destination} -j RETURN\n"
|
||||
)
|
||||
|
||||
route_policy_rules += (
|
||||
|
||||
Reference in New Issue
Block a user