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

3 lines
137 B
YAML
Raw Normal View History

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