Make nft rules dynamic in connector class, SC-2670
This commit is contained in:
parent
c102fe775b
commit
746ef65cb9
1 changed files with 2 additions and 1 deletions
|
@ -22,8 +22,9 @@ class eid::connector (
|
||||||
if $version {
|
if $version {
|
||||||
|
|
||||||
# Allow HTTPS from load balancer servers
|
# Allow HTTPS from load balancer servers
|
||||||
|
$lb_ips = hiera_array("lb_${environment}_servers",[])
|
||||||
sunet::nftables::allow { 'allow-https-from-lbs':
|
sunet::nftables::allow { 'allow-https-from-lbs':
|
||||||
from => ['94.176.224.38', '94.176.224.166',],
|
from => $lb_ips,
|
||||||
port => 443,
|
port => 443,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue