Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to harden the setup? #1

Open
amrap030 opened this issue Jul 23, 2023 · 1 comment
Open

How to harden the setup? #1

amrap030 opened this issue Jul 23, 2023 · 1 comment

Comments

@amrap030
Copy link

Hello, thank you very much for your instructions, it worked like a charm :)

You mentioned that the instructions are for a test environment, for a production environment it should be hardened. Could you maybe add instructions for hardening etc. or give us some options on what could be done additionally to harden the setup?

Thank you in advance!

@fenio
Copy link
Owner

fenio commented Jul 23, 2023

I skipped hardening as it would make whole guide really complicated and hard to follow.
What I could recommend at least for start is:

  • NFS - switch to version 4 and start using Kerberos / GSS based authentication
    If you really want to stay on NFSv3 then at least configure your exports to allow only connections from trusted hosts.
  • iSCSI - it supports much more sophisticated auth mechanisms. I just skipped them to make guide easier but you can enable authorization in iSCSI setup in TrueNAS Scale and set up clients / passwords.

In general just be aware that without further hardening basically anyone can mount your shares and that's definitely something you'd like to avoid. For playground it's fine but you really have to dig further to make such setup production ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants