diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2023-01-26 23:00:16 +0100 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2023-01-26 23:04:32 +0100 |
commit | 09df394737c4a91a5a44909e29abeff8e1927ecc (patch) | |
tree | b357800703198c5d88acbc750b2e6f244359449d /roles/space_server/templates | |
parent | 240f9e2cc0d7186c3a7fb1b26d444d67e97863c4 (diff) | |
download | labitat-ansible-09df394737c4a91a5a44909e29abeff8e1927ecc.tar.gz labitat-ansible-09df394737c4a91a5a44909e29abeff8e1927ecc.tar.xz labitat-ansible-09df394737c4a91a5a44909e29abeff8e1927ecc.zip |
space_server: nftables: NAT local traffic bound for colo if
Diffstat (limited to 'roles/space_server/templates')
-rw-r--r-- | roles/space_server/templates/nftables.conf.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/space_server/templates/nftables.conf.j2 b/roles/space_server/templates/nftables.conf.j2 index 412270c..b01ba96 100644 --- a/roles/space_server/templates/nftables.conf.j2 +++ b/roles/space_server/templates/nftables.conf.j2 @@ -269,8 +269,8 @@ table ip nat { chain postrouting { type nat hook postrouting priority -150; - oif $ext_if ip saddr $free_net4 snat $free_nat - oif $ext_if ip saddr $int_net4 snat $ext_ip4 + oif { $ext_if, $colo_if } ip saddr $free_net4 snat $free_nat + oif { $ext_if, $colo_if } ip saddr $int_net4 snat $ext_ip4 } } |