1. J

    Solved Fetch: protocol not supported

    Hi, I don't understand why I can't use fetch from inside my jail. # fetch http://www.yahoo.com fetch: http://www.yahoo.com: Protocol not supported Name resolution works: # host -t A yahoo.com yahoo.com has address yahoo.com has address...
  2. J

    How to freebsd-update only the jail's components?

    Hello, I read that freebsd-update uses the /etc/freebsd-update.conf file to determine which components to update. The /etc/freebsd-update.conf file of my host contains the following line: Components src world kernel So I'm guessing that each time I'm trying to update a jail using...
  3. J

    Should jails have the src component?

    Hello, I'm trying to create jails and keep them up to date and secure. I don't know if I should add the src component to my jails. As of now, I only download base.txz, lib32.txz and doc.txz from http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/11.0-RELEASE/ , extract them in a directory...
  4. pming

    Jail lost all packages

    Hello everyone I recently set up Nextcloud in a jail using apache24, mariadb101 and php70 on FreeBSD 10.3. After rebooting my server the jail will not come up correctly. It won't mount datasets and all the packages I installed and their configuration seems gone. pkg info only returns pkg. I...
  5. T

    mlock(2) in jails

    Hi, since various applications want to do that, often fail/coredump not being able to I wonder whether there is a way to allow mlock in jail. I am getting a permission denied there. I am using FreeBSD 10.3 on the target machine and ezjail.
  6. J

    Minimal jail.conf and jail.conf options

    Hello, I'd like to create jails using the jail built-in utility and the new /etc/jail.conf configuration file. However, the manual at https://www.freebsd.org/doc/handbook/jails-build.html still uses the old format of using jail_ variables in /etc/rc.conf. I don't have any jail.conf on my...
  7. J

    Why am I unable to update my FreeBSD jails?

    Hello, I'm trying to update the base system of the jails on my host. I created the jails using EZJail. On the host or on the jails, I think the correct way to check if my base system is up to date is to call # freebsd-update fetch This way I get a list of available updates. If the list is...
  8. J

    What happens in a jail when updating the main host system?

    Hi, despite reading and re-reading the manual, I have an extremely hard time understanding how to keep my FreeBSD host and my FreeBSD jails secure. I am going to try to express my current understanding of FreeBSD as maybe the problem is that I don't understand it. There seems to be on one...
  9. geek

    Ban non-VPN or all networking

    Hello. Is there a way to force some applications to only use a VPN interface for networking, or ban all networking from them completely? Could this be done with jails? I want to use VPN "anonymously" so that my real IP, DNS requests and other such stuff are not leaked.
  10. masteroman

    Solved Redis in FreeBSD jail

    I've been using jails and managing them with ezjail, as such I'm not using vimage jails but plain ol' jails. In one of the jails I have installed Nginx, PHP-FPM, Redis, and Wordpress located on one of the user accounts within jail. When configuring Redis to listen on it binds to all...
  11. J

    How to trigger events within jail on file creation

    I'd like to be able to configure the ability to trigger events within a jail when files are created in specific directories. While I can use auditd and praudit to capture file creation on the host, as far as I know jailed use of that facility isn't possible, even with providing /dev/auditpipe to...
  12. M

    Jailed NAS: NFS and Kerberos

    Dear FreeBSD Community! I'm planning to setup a NAS (for my family, a mix of Windows, Linux and Mac OS Clients) in a jail on my FreeBSD machine (which should replace my actual Linux-based homeserver step by step). So I prepared a jail with it's own IP, set up samba and joined our Active...
  13. M

    Xwiki in a jail

    Jails have confused me. My ultimate goal is to setup xwiki in a jail (after installing tomcat and MySQL). I have sucessfully created the jail with: iocage create tag=xwiki ip4_addr="ue0| started it: iocage start xwiki and accessed it: iocage console xwiki Now the output of ifconfig...
  14. unknownuser

    Host unable to load web pages from Jail - 408

    Hello everyone. I have a Windows 10 Workstation where I run a FreeBSD 10.3 Guest server over VMWare 12. This FreeBSD VM is meant to run multiple Apache/PHP/Wordpress instances on multiple jails. The FreeBSD guest is bridged through the HOST Ethernet NIC, where the HOST has the IP...
  15. Y


    Hi, I been surfing the net looking for an answer for this: I want to run PostgreSQL in a jail. creating directory /usr/local/pgsql/data ... ok creating subdirectories ... ok selecting default max_connections ... 10 selecting default shared_buffers ... 400kB creating configuration files ... ok...
  16. F

    Jails, webserver and website

    Hello, NB question here: Setting up FreeBSD on a VPS. Some howto's have Apache running on the host, and the website in a jail. Other howtos have Apache running in a jail. My question, from a security point of view, is it better to run Apache in it's own jail? Would I put my Wordpress website in...
  17. unknownuser

    phpMyAdmin permission error on Jail

    Hello folks. I have spent probably the last two days trying to get phpMyAdmin to work under a 10.3 jail with Apache24, mod_php and php56-mysql. Initially I copied the same exact configuration I have on the FreeBSD 10.3 host where phpMyAdmin is working fine, but for some reason I kept on...

    NFS Mount - On Host or in Jail?

    I'm looking to mount an NFS share on a host where the mount will be used inside a jail. I'm not sure what would be more secure, and what what method would be preferred for accessing NFS storage on another server on the same network. I am happy to explore either way and I can think of reasons...
  19. blueCub

    Installing packages in Jails is very slow and causing timeout

    Hi All, I am still quite new to jails and still getting my head around. I am using ezjail and created few jails. Everything is fine apart from pkg install which is very flow and quite often times-out before it finishes downloading all the dependencies. roceed with this action? [y/N]: y...
  20. datacatalyser

    Redis don't work from inside Jail

    Hi, This is my first Ipost :) I'm running FreeBSD 10.3-RELEASE-p7 as jails host using sysutils/ezjail this week I am starting deploy database/redis 3.2.4 on dedicated jail but when I start redis-server # redis-server /usr/local/etc/redis.conf && redis-server Redis throw this warning: 55295:C...