I just build five jails on my home desktop. Maybe all five will eventually land on a hosting VPS, minus the desktop; so security is of great concern. Maybe jail-1 will be the router, gateway, security center or whatever else is possible to server the rest of the jails. How would you do this?
Now that I’m near finish, I just realized, I really need to know what each jail should include and what each jail should not include, and why. I done ran out of guesses and now I feel very foolish for not asking about this in the first place when it came to mind before getting started. Any and all suggestions would be helpful. Even a bad idea could generate better idea's. What I’m posting below is what I have done so far. I just don’t know what’s missing but I do know they should stay basic and secure as possible.
This is about manual-jails only. So far, all five jails have the most minimum FreeBSD 10.1 base-system. Each has sshguard and portmaster installed as the bottom-line format for all jails. Are there other ports that should be included within this bottom-line format, and why?
Are these jails complete?
Are there any other most basic applications required to make the main application complete and more secure?
Should any of these jails need to have their own php etc., included or can they use them from Jail-5 without lost of performance?
I have not tested anything. Learning how to network jails and use SQL and the others will follows. But for now, I need these jails in place to reach that point. Thanks in advance.
Now that I’m near finish, I just realized, I really need to know what each jail should include and what each jail should not include, and why. I done ran out of guesses and now I feel very foolish for not asking about this in the first place when it came to mind before getting started. Any and all suggestions would be helpful. Even a bad idea could generate better idea's. What I’m posting below is what I have done so far. I just don’t know what’s missing but I do know they should stay basic and secure as possible.
This is about manual-jails only. So far, all five jails have the most minimum FreeBSD 10.1 base-system. Each has sshguard and portmaster installed as the bottom-line format for all jails. Are there other ports that should be included within this bottom-line format, and why?
Are these jails complete?
Are there any other most basic applications required to make the main application complete and more secure?
Should any of these jails need to have their own php etc., included or can they use them from Jail-5 without lost of performance?
Code:
Jail-1) Router + sshguard + pf + snort + __
Jail-2) Nginx + sshguard + __
Jail-3) Apache + sshguard + __
Jail-4) MySQL + sshguard + c-connector + __
Jail-5) php + perl + java + sshguard + __