Add FW config for Strelka frontend

This commit is contained in:
Wes Lambert
2020-06-23 18:47:23 +00:00
parent 685e3048ac
commit f7eacc2b05
4 changed files with 21 additions and 3 deletions

View File

@@ -44,6 +44,10 @@ firewall:
ips: ips:
delete: delete:
insert: insert:
strelka_frontend:
ips:
delete:
insert:
syslog: syslog:
ips: ips:
delete: delete:

View File

@@ -38,6 +38,11 @@ do
FULLROLE="beats_endpoint" FULLROLE="beats_endpoint"
SKIP=1 SKIP=1
;; ;;
f)
FULLROLE="strelka_frontend"
SKIP=1
;;
i) IP=$OPTARG i) IP=$OPTARG
;; ;;
o) o)
@@ -72,6 +77,7 @@ if [ "$SKIP" -eq 0 ]; then
echo "" echo ""
echo "[a] - Analyst - ports 80/tcp and 443/tcp" echo "[a] - Analyst - ports 80/tcp and 443/tcp"
echo "[b] - Logstash Beat - port 5044/tcp" echo "[b] - Logstash Beat - port 5044/tcp"
echo "[f] - Strelka frontend - port 57314/tcp"
echo "[o] - Osquery endpoint - port 8090/tcp" echo "[o] - Osquery endpoint - port 8090/tcp"
echo "[s] - Syslog device - 514/tcp/udp" echo "[s] - Syslog device - 514/tcp/udp"
echo "[w] - Wazuh agent - port 1514/tcp/udp" echo "[w] - Wazuh agent - port 1514/tcp/udp"
@@ -86,6 +92,8 @@ if [ "$SKIP" -eq 0 ]; then
FULLROLE=analyst FULLROLE=analyst
elif [ "$ROLE" == "b" ]; then elif [ "$ROLE" == "b" ]; then
FULLROLE=beats_endpoint FULLROLE=beats_endpoint
elif [ "$ROLE" == "f" ]; then
FULLROLE=strelka_frontend
elif [ "$ROLE" == "o" ]; then elif [ "$ROLE" == "o" ]; then
FULLROLE=osquery_endpoint FULLROLE=osquery_endpoint
elif [ "$ROLE" == "w" ]; then elif [ "$ROLE" == "w" ]; then

View File

@@ -52,6 +52,9 @@ role:
osquery_endpoint: osquery_endpoint:
portgroups: portgroups:
- {{ portgroups.fleet_api }} - {{ portgroups.fleet_api }}
strelka_frontend:
portgroups:
- {{ portgroups.strelka_frontend }}
syslog: syslog:
portgroups: portgroups:
- {{ portgroups.syslog }} - {{ portgroups.syslog }}

View File

@@ -74,6 +74,9 @@ firewall:
ssh: ssh:
tcp: tcp:
- 22 - 22
strelka_frontend:
tcp:
- 57314
syslog: syslog:
tcp: tcp:
- 514 - 514