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"