diff --git a/firewall/tools.py b/firewall/tools.py index a39c461..53c77c7 100644 --- a/firewall/tools.py +++ b/firewall/tools.py @@ -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 += ( diff --git a/templates/firewall/firewall_rule_list.html b/templates/firewall/firewall_rule_list.html index 5c5fcec..8f03213 100644 --- a/templates/firewall/firewall_rule_list.html +++ b/templates/firewall/firewall_rule_list.html @@ -64,6 +64,20 @@