wireguard: remove allow all firewall rule

This commit is contained in:
dogeystamp 2024-08-11 15:05:40 -04:00
parent b0a28a0e47
commit b198b90f3f
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -24,14 +24,6 @@
line: "net/ipv4/ip_forward=1"
when: '"bastion" in group_names'
- name: Setup UFW rules to accept VPN traffic
community.general.ufw:
rule: allow
direction: in
src: "{{ wireguard.ip.cidr }}"
dest: any
when: '"bastion" in group_names'
- name: Deploy wireguard server config
template:
src: server.conf.j2