Restricting SSH access to the Grid #7423
-
By default Security Onion provides no official option to restrict SSH access to the Grid (as of this writing). But this can be done with hacking the Salt configurations a bit. If you take a look at
After ensuring that this is the only group that's assigned for SSH access, you can edit the
You can then save the file and remove the iptables rule that allows SSH access to boxes from anywhere using the following commands from the manager node:
If the steps are done correctly, the boxes should have SSH access restricted to your IP addresses. You MUST follow this guide again when you update your Grid, since the default files will be overwritten by newer updates. Don't forget to restore this file to original or to add the IP of the new nodes you want to enroll. New nodes require SSH access to the Manager node during enrollment. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We've created an issue to improve this in the future: |
Beta Was this translation helpful? Give feedback.
We've created an issue to improve this in the future:
#7477