Merge pull request #847 from Security-Onion-Solutions/quickfix/fleetfwsetup

set firewall during setup for fleet standalone
This commit is contained in:
Josh Patterson
2020-06-15 09:43:35 -04:00
committed by GitHub

View File

@@ -1460,6 +1460,9 @@ set_initial_firewall_policy() {
ssh -i /root/.ssh/so.key soremote@"$MSRV" sudo $default_salt_dir/pillar/data/addtotab.sh sensorstab "$MINION_ID" "$MAINIP" "$num_cpu_cores" "$random_uid" "$MNIC" "$filesystem_root" "$filesystem_nsm" bond0
ssh -i /root/.ssh/so.key soremote@"$MSRV" sudo $default_salt_dir/pillar/data/addtotab.sh nodestab "$MINION_ID" "$MAINIP" "$num_cpu_cores" "$random_uid" "$MNIC" "$filesystem_root" "$filesystem_nsm"
;;
'FLEET')
ssh -i /root/.ssh/so.key soremote@"$MSRV" sudo $default_salt_dir/salt/common/tools/sbin/so-firewall --apply includehost beats_endpoint "$MAINIP"
;;
esac
;;
'PARSINGNODE')