mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
fix docker fw rules managerhype
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
'so-strelka-filestream'
|
||||
] %}
|
||||
|
||||
{% elif GLOBALS.role == 'so-manager' or GLOBALS.role == 'so-standalone' or GLOBALS.role == 'so-managersearch' %}
|
||||
{% elif GLOBALS.role in ['so-manager', 'so-standalone','so-managersearch', 'so-managerhype'] %}
|
||||
{% set NODE_CONTAINERS = [
|
||||
'so-dockerregistry',
|
||||
'so-elasticsearch',
|
||||
|
||||
@@ -51,6 +51,10 @@ fi
|
||||
'MANAGER')
|
||||
so-firewall includehost manager "$IP"
|
||||
;;
|
||||
'MANAGERHYPE')
|
||||
so-firewall includehost manager "$IP"
|
||||
so-firewall includehost hypervisor "$IP" --apply
|
||||
;;
|
||||
'MANAGERSEARCH')
|
||||
so-firewall includehost manager "$IP"
|
||||
so-firewall includehost searchnode "$IP" --apply
|
||||
|
||||
@@ -2234,7 +2234,7 @@ set_hostname() {
|
||||
|
||||
set_initial_firewall_policy() {
|
||||
case "$install_type" in
|
||||
'EVAL' | 'MANAGER' | 'MANAGERSEARCH' | 'STANDALONE' | 'IMPORT')
|
||||
'EVAL' | 'MANAGER' | 'MANAGERHYPE' | 'MANAGERSEARCH' | 'STANDALONE' | 'IMPORT')
|
||||
so-firewall includehost $minion_type $MAINIP --apply
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user