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'
|
'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 = [
|
{% set NODE_CONTAINERS = [
|
||||||
'so-dockerregistry',
|
'so-dockerregistry',
|
||||||
'so-elasticsearch',
|
'so-elasticsearch',
|
||||||
|
|||||||
@@ -51,6 +51,10 @@ fi
|
|||||||
'MANAGER')
|
'MANAGER')
|
||||||
so-firewall includehost manager "$IP"
|
so-firewall includehost manager "$IP"
|
||||||
;;
|
;;
|
||||||
|
'MANAGERHYPE')
|
||||||
|
so-firewall includehost manager "$IP"
|
||||||
|
so-firewall includehost hypervisor "$IP" --apply
|
||||||
|
;;
|
||||||
'MANAGERSEARCH')
|
'MANAGERSEARCH')
|
||||||
so-firewall includehost manager "$IP"
|
so-firewall includehost manager "$IP"
|
||||||
so-firewall includehost searchnode "$IP" --apply
|
so-firewall includehost searchnode "$IP" --apply
|
||||||
|
|||||||
@@ -2234,7 +2234,7 @@ set_hostname() {
|
|||||||
|
|
||||||
set_initial_firewall_policy() {
|
set_initial_firewall_policy() {
|
||||||
case "$install_type" in
|
case "$install_type" in
|
||||||
'EVAL' | 'MANAGER' | 'MANAGERSEARCH' | 'STANDALONE' | 'IMPORT')
|
'EVAL' | 'MANAGER' | 'MANAGERHYPE' | 'MANAGERSEARCH' | 'STANDALONE' | 'IMPORT')
|
||||||
so-firewall includehost $minion_type $MAINIP --apply
|
so-firewall includehost $minion_type $MAINIP --apply
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user