I'm quite new to freeBSD switching from Linux.
I read about jail, the solution sound great for Server Systems. So my idea for my webserver was to create 3 jails. One jail for mysql, one for nginx and one for php-fpm. Now the jails have to communicate with each other. How do I do that?
Over IP? It would be a big overhead but secure. Here is an example:
- CLIENT
- -> TCP/IP -> NGINX
- -> TCP/IP -> PHP-FPM
- -> TCP/IP -> MYSQL
- -> TCP/IP -> PHP-FPM
- -> TCP/IP -> NGINX
- -> TCP/IP -> CLIENT
With Sockets: That would be a security los..
- create a directories on the host system
- create a directories in the jails
- merge the directories
Which solution do you use?Or do you have better solutions?