X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=environments%2Fproduction%2Fmanifests%2Froot.pp;h=c193f9a9dcb04e92dea3a17be01b7816830c66ef;hb=4d1a3acdbc3b2ed8a1730251120e190a3004a2f5;hp=9adaee13767d6152e3f55e235247cfb506bb779d;hpb=95266f6237df2334741f3ce60050618259452ed4;p=infra.git diff --git a/environments/production/manifests/root.pp b/environments/production/manifests/root.pp index 9adaee1..c193f9a 100644 --- a/environments/production/manifests/root.pp +++ b/environments/production/manifests/root.pp @@ -44,6 +44,16 @@ class my_fw::post { table => 'nat', chain => 'PREROUTING' } -> + firewall {'80 dnatv6-hop-ssh': + provider => 'ip6tables', + proto => 'tcp', + dport => '2222', + jump => 'DNAT', + todest => "[${$ipsv6[hop]}]:22", + iniface => $internet_iface, + table => 'nat', + chain => 'PREROUTING' + } -> firewall {'80 MASQ-v6': provider => 'ip6tables', chain => 'POSTROUTING',