computer-playbook/roles/native-wireguard-behind-firewall/tasks/main.yml

3 lines
137 B
YAML

- name: adapt iptable rules
shell: iptables -A FORWARD -i wg0-client -j ACCEPT && iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE