mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-10-19 04:25:33 +00:00
Added role native-wireguard-behind-firewall
This commit is contained in:
2
roles/native-wireguard-behind-firewall/tasks/main.yml
Normal file
2
roles/native-wireguard-behind-firewall/tasks/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
- name: adapt iptable rules
|
||||
shell: iptables -A FORWARD -i wg0-client -j ACCEPT && iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
Reference in New Issue
Block a user