Specify interface name

This commit is contained in:
Micke Nordin 2023-02-17 16:35:57 +01:00
parent dd6e75cc32
commit c760a04551
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257
2 changed files with 4 additions and 0 deletions

View file

@ -337,10 +337,12 @@ define sunetdrive::app_type (
sunet::misc::ufw_allow { 'https':
from => '0.0.0.0/0',
port => 443,
iif => 'ens3',
}
sunet::nftables::docker_expose { 'https':
allow_clients => ['any'],
port => 443,
iif => 'ens3',
}
}

View file

@ -72,10 +72,12 @@ class sunetdrive::proxysql (
sunet::nftables::docker_expose { 'stats_ports':
allow_clients => $tug_office,
port => 6080,
iif => 'ens3',
}
sunet::nftables::docker_expose { 'proxysql':
allow_clients => ['any'],
port => 6032,
iif => 'ens3',
}
sunet::docker_compose { 'drive_proxysql_docker_compose':