diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-05-27 21:51:17 +0100 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-05-27 21:51:17 +0100 |
commit | cf2d182f0a384e4eb95b0645e45b4491634e0441 (patch) | |
tree | dddfe6e3ad4a49f646e27922606b17cf60b7dbec | |
parent | da9620ed0709be25b4ced254ca0f131f637bcfe6 (diff) | |
download | infra-cf2d182f0a384e4eb95b0645e45b4491634e0441.tar.gz infra-cf2d182f0a384e4eb95b0645e45b4491634e0441.tar.bz2 infra-cf2d182f0a384e4eb95b0645e45b4491634e0441.zip |
Remove semicolons from wgvpn config
-rw-r--r-- | roles/wgvpn/templates/wg1.conf.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/wgvpn/templates/wg1.conf.j2 b/roles/wgvpn/templates/wg1.conf.j2 index 8a930ac..bb95632 100644 --- a/roles/wgvpn/templates/wg1.conf.j2 +++ b/roles/wgvpn/templates/wg1.conf.j2 @@ -7,8 +7,8 @@ PostUp = iptables -A FORWARD -i %i -j ACCEPT PostUp = iptables -A FORWARD -o %i -j ACCEPT PostUp = iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE -PostDown = iptables -D FORWARD -i %i -j ACCEPT; -PostDown = iptables -D FORWARD -o %i -j ACCEPT; +PostDown = iptables -D FORWARD -i %i -j ACCEPT +PostDown = iptables -D FORWARD -o %i -j ACCEPT PostDown = iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE # earth |