Cleaned up and refactored

This commit is contained in:
2023-11-16 23:29:43 +01:00
parent cd2c66bc54
commit 3dbdd1dfcb
39 changed files with 24 additions and 31 deletions

View File

@@ -0,0 +1,5 @@
# client-wireguard-behind-nat
# see
- https://gist.github.com/insdavm/b1034635ab23b8839bf957aa406b5e39
- https://wiki.debian.org/iptables

View File

@@ -0,0 +1,2 @@
dependencies:
- client-wireguard

View 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