iocage

  1. kr0m

    Solved Cant start iocage jail with IPv6 disabled kernel

    I am trying to compile a minimal kernel for my old server, I don't use IPv6 so I decided to remove from kernel image, all seems to work correctly except iocage. I have confirmed that INET6 is not present in my custom kernel: sysctl kern.conftxt|grep INET options INET And I have configured...
  2. byrnejb

    jails Set up iocage jail with two vnet interfaces

    On a FreeBSD-12.3p5 host I have an iocage administered jail for which I would like to configure two separate i/f. I have this setup working for a bhyve administered vm on that host but I also need a jail. Here is what I have: rc.conf: cloned_interfaces="bridge0" ifconfig_bridge0="addm igb0...
  3. L

    Migrated JAILs from TrueNAS 11.3 to JAILS over FreeBSD 13 with VNET and now IPFW inside JAIL not work: kldload ipfw - not permitted

    In jail under TrueNAS 11, was mail server that can block IPs by IPFW rules. Now I move JAIL to FreeBSD 13.1, and detect that same JAIL with same settings, not allow to load IPFW inside jail. kldload ipfw kldload: can't load ipfw: Operation not permitted For JAILs managemnt use iocage...
  4. byrnejb

    Solved service reports cannot find /etc/rc.conf

    root@mx32 ~]# freebsd-version 12.3-RELEASE-p2 [root@mx32 ~]# uname -a FreeBSD mx32.harte-lyne.ca 12.3-RELEASE-p1 FreeBSD 12.3-RELEASE-p1 GENERIC amd64 I have recently begun to see this in one of our (iocage managed) jails while logged in via ssh. # service postfix status /etc/rc.conf: $...
  5. byrnejb

    Solved isc-dhcpd running in a freebsd 12.3p5 jail

    I have a problem getting dhcpd to run inside a iocage controlled jail. Following various bits and pieces found on the web I have successfully configured a jail with a VNET interface.. This appears to work as I can ping into and out off the jail from internal and external addresses. For...
  6. thecodechemist

    Wireguard in iocage jail: Failed to create TUN device: open /dev/tun: no such file or directory

    Hi, I'm having issues with running wireguard in an iocage jail on FreeBSD 13.0-RELEASE-p10. The weird thing is, I also had issues with this on my TrueNAS Core system (12.2-RELEASE-p15), but after enabling the allow_tun option for the jail it now runs just fine there. Here's some config data...
  7. rafael_grether

    Solved Best Jail management tool (new private IP address is needed?)

    Hello all, I have a FreeBSD 13 on AWS EC2. I will install the Matrix homeserver (synapse), but for security reasons, I will do it in a Jail. And I plan to have another Jail for other service as well (like IRC Server). What is the best Jail Management Tool in your opinion? Iocage? The second...
  8. byrnejb

    jails IOCAGE Syntax to clone a jail from a snapshot?

    I wish to clone a jail from a snapshot of another using iocage-1.2.5 on a host running FreeBSD-12.3-RELEASE. I searched for snapshots of the jail that I wish to clone: iocage snaplist dns38-2 . . . +-----------------------------------------------------+-----------------------+-------+-------+...
  9. byrnejb

    OpenSSL 1.1.1h in base. OpenSSL 1.1.1l installed.

    I have a FreeBSD host updated to 12.2p11. # freebsd-update fetch src component not installed, skipped Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 12.2-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Inspecting system...
  10. spork

    jails Can't unmount zfs datasets in jail

    I'm stumped here - trying to delegate a zfs dataset to a jail (using another pool) within iocage... My config has what appear to be all the proper settings to allow a root user in the jail to manage zfs, and it all seems to work, but I cannot unmount any datasets. Here's the config: {...
  11. byrnejb

    Solved Problem with jail upgrade to 12.2 using iocage

    I am upgrading all of our remain jails to 12.2 from 12.1. Things have gone well up until this morning. I attempted to upgrade a jail and this is what happened. [root@vhost06 ~ (master)]# iocage upgrade webmail -r 12.2-RELEASE Looking up update.FreeBSD.org mirrors... 2 mirrors found...
  12. C

    jails Kernel panic after upgrade to FreeBSD 13

    Greetings, I recently encountered a problem with my jails (I use iocage to manage them), which leads to a crash of the host-system. I'm using this setup for quite a while without similar issues, but after upgrading to 13 directing network-traffic IN or OUT of my jails leads to a Kernel panic...
  13. keldonin

    jails files and directories invisible from jail

    Hello, I'm encountering an issue that I can't explain, so looking for SME advice here :) I run a linux (debian) inside a jail. I'm using iocage for jail management. deboostrap was used to deploy the guest system. Everything seems to work well except that many files from /etc directory are not...
  14. S

    iocage jail can only reach its host but not the LAN

    I'm in the middle of setting up a dedicated server. It's running ESXi and I installed a FreeBSD guest. Using iocage I want to create some jails. I have done this before more than once and usually this is strait-forward... but this time I'm stuck somehow. The jail is created with vnet=on and I...
  15. T

    vbox Freebsd Virtualbox Host and Jails

    I'm running Virtualbox 5.2.44_3 on FreeBSD 12.2-RELEASE and everything is working fine until I create a jail and use vnets for the networking on the jails. I'm using iocage for jail management. I've followed the handbook for setting up a bridged interface for jails and my bridge interface...
  16. R

    How do I route all Jail traffic through OpenVPN on FIB1

    Hello FreeBSD users, this is my fist post, I'm still learning so please be gentle :) I am trying to setup a jail (using ioCage) so that all of its traffic goes through our VPN. I have already setup OpenVPN which connects to our VPN service without issue. However the I seem unable 😕 to...
  17. Farhan Khan

    Cloned iocage jails except 1 directory?

    Hi all, I am trying to run multiple instances of an application in different jails. The jails should be identical in all ways except different IP addresses and one directory, where the configuration for the given application will reside. Is there a way to trivially create jails of this sort...
  18. turtle_

    Assign MAC on Shared IP IOCAGE Jail

    Sorry if this has already been asked but I couldn't find anything in the docs and google has failed me on this. Am I able to specify a MAC address to a Shared IP IOCAGE Jail or is that option only available with VNET? Edit: Also, if I can specify a MAC address, how would I go about doing that?
  19. R

    VNET ARP replies are lost

    My setup is as follows: freenas ---- switch ---- station freenas is running FreeBSD 11.2 with iocage jail using VNET/VIMAGE network stack (though same behaviour is observed on warden jails and previous FreeBSD releases) It all started when I noticed that station loses connection to jail...
  20. U

    no NAT/routing through iocage OpenVPN gateway jail/host

    Hi folks, I'm somewhat of a *BSD novice, having rather used various builds for appliance devices, such as pfSense, opnSense, FreeNAS, etc. I've recently set up a new FreeNAS box from scratch, and built/building a jail for the express purpose of maintaining OpenVPN client connections, and then...
Top