Specify interface name
This commit is contained in:
parent
dd6e75cc32
commit
c760a04551
|
@ -337,10 +337,12 @@ define sunetdrive::app_type (
|
||||||
sunet::misc::ufw_allow { 'https':
|
sunet::misc::ufw_allow { 'https':
|
||||||
from => '0.0.0.0/0',
|
from => '0.0.0.0/0',
|
||||||
port => 443,
|
port => 443,
|
||||||
|
iif => 'ens3',
|
||||||
}
|
}
|
||||||
sunet::nftables::docker_expose { 'https':
|
sunet::nftables::docker_expose { 'https':
|
||||||
allow_clients => ['any'],
|
allow_clients => ['any'],
|
||||||
port => 443,
|
port => 443,
|
||||||
|
iif => 'ens3',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -72,10 +72,12 @@ class sunetdrive::proxysql (
|
||||||
sunet::nftables::docker_expose { 'stats_ports':
|
sunet::nftables::docker_expose { 'stats_ports':
|
||||||
allow_clients => $tug_office,
|
allow_clients => $tug_office,
|
||||||
port => 6080,
|
port => 6080,
|
||||||
|
iif => 'ens3',
|
||||||
}
|
}
|
||||||
sunet::nftables::docker_expose { 'proxysql':
|
sunet::nftables::docker_expose { 'proxysql':
|
||||||
allow_clients => ['any'],
|
allow_clients => ['any'],
|
||||||
port => 6032,
|
port => 6032,
|
||||||
|
iif => 'ens3',
|
||||||
}
|
}
|
||||||
|
|
||||||
sunet::docker_compose { 'drive_proxysql_docker_compose':
|
sunet::docker_compose { 'drive_proxysql_docker_compose':
|
||||||
|
|
Loading…
Reference in a new issue