From 527c80c2931a4c7f862f25cab251a9c8f0606b87 Mon Sep 17 00:00:00 2001 From: olli <> Date: Thu, 10 Oct 2024 10:57:14 +0200 Subject: [PATCH] routing --- wireguard.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/wireguard.yml b/wireguard.yml index 8e0f985..7935523 100644 --- a/wireguard.yml +++ b/wireguard.yml @@ -72,12 +72,18 @@ - Restart ufw - - name: Allow Routing + - name: Allow Routing from VPN/wg0 community.general.ufw: rule: allow route: yes interface_in: wg0 + - name: Allow Routing to VPN/wg0 + community.general.ufw: + rule: allow + route: yes + interface_out: wg0 + - name: Restart service for config changes copy: dest: "/etc/systemd/system/wg-ui-restart.service"