diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-24 00:25:47 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-24 00:25:47 +0200 |
commit | dc320350cdd6c27030ab0aeaa7c24cce4736907c (patch) | |
tree | 46d9da3ea8eb409171638060b196357eef9d4596 | |
parent | Wireguard work. (diff) | |
download | profiles-dc320350cdd6c27030ab0aeaa7c24cce4736907c.tar.gz profiles-dc320350cdd6c27030ab0aeaa7c24cce4736907c.tar.xz |
Wireguard work.
Diffstat (limited to '')
-rw-r--r-- | manifests/wireguard_server.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/wireguard_server.pp b/manifests/wireguard_server.pp index 3885114..56743d4 100644 --- a/manifests/wireguard_server.pp +++ b/manifests/wireguard_server.pp @@ -34,14 +34,14 @@ class profiles::wireguard_server ( } } - ['iptables', 'ip6tables'].each |$provider| { - firewall { '100 Forward wireguard to network': + ['ip', 'ip6'].each |$provider| { + firewall { "100 Forward ${provider} wireguard to network": table => 'nat', chain => 'POSTROUTING', jump => 'MASQUERADE', outiface => 'br0', proto => 'all', - provider => $provider, + provider => "${provider}tables", } } |