iocage

  1. M

    Iocage jail network - Need help please

    Hi, I am having issues setting up network on a dedicated server. Basic network tests are failing (cf. end of this message) 1/ Here is main objectives Secure both HOST and JAILS Jails must be able to access public IP (Internet) Jails MUST NOT be able to see any other jail than themself NB : I...
  2. N

    jails Confusion about what FreeBSD version the jail managed by iocage really is at

    Hi, I run FreeBSD 14.0 on the host and have been running iocage for many years. Current installed version of iocage is 1.2. The jail is running version 13.1 according to iocage: root@host:~ # iocage get release webserver-01 13.1-RELEASE But if I login to the jail: root@host:~ # iocage...
  3. ejr2122

    PF Help with unorthodox port forwarding

    Hello, Can someone please help me figure out how to forward ports from inside of a jail? I think I need the pf firewall to do this, but I could be wrong. I have three iocage jails, each on their own VLAN, each running tailscale inside. My goal is to have incoming connections over tailscale...
  4. byrnejb

    Solved Samba-4.19 on FreeBSD-14.1 == WARNING: samba_server: cannot fdescfs mount to /var/run/samba4/fd

    Host OS FreeBSD-14.1 Jail OS FreeBSD-14.1 Samba-4.19 I have an iocage managed 13.2p9 jail that runs samba-4.13. I have upgraded a copy of this jail to 14.1 and installed samba-4.19. When I start samba_server on the upgraded jail I see this: # service samba_server restart Performing sanity...
  5. byrnejb

    Start a script with higher than normal run priority

    I have a problem relating to upgrading to 14.2. The system I have the problem with it not the system being upgraded. However, I moved to that system the services that usually run on the system being upgraded. This has caused a massive negative impact on performance. We did not experience...
  6. DaLynX

    general/other Help troubleshooting slowness of freebsd guest on proxmox host

    Hello, I am running a small proxmox server with two friends. We each have an individual vm (mine running freebsd, two others linuxes) no complain on that side. I am also running a small shared services freebsd vm that hosts an nginx reverse proxy, a postfix relay and a mediawiki instance. I...
  7. J

    jails iocell fetch failed to build tree when installing updates

    Hi, It's about iocell, a jail manager, I have problem when run command `iocell fetch`, it successfully fetched the base.txz but got problem when patch it, the error message is just "failed to build new tree", no logs found in dmesg, is there a specific log file for iocell? iocell version...
  8. nxg

    Solved iocage: template not found (but it's there!)

    Greetings. I'm trying to create an iocage jail using a template, but... # iocage create -t servicetemplate ip4_addr=192.168.128.5/24 defaultrouter=192.168.128.1 interfaces=vnet0:jpriv vnet=on -n motherhen Template: servicetemplate not found! Created Templates: servicetemplate The...
  9. S

    pkg in jail not working

    Need help: I have just created a new jail 'ha' with 'iocage' on a new FreeBSD 14.0-REALEASE maschine (metal): iocage create -r 14.0-RELEASE --name ha ip4_addr="em0|192.168.1.200/24" Everything worked as expected. Now I want to install some packages inside the jail. No chance: root@ha:~ # pkg...
  10. byrnejb

    jails py39-iocage-1.2_10 export returns non-zero status

    When I attempt to export a stopped iocage managed jail I am getting this error: # iocage export mx132& [1] 80640 [root@vhost03 ~ (master)]# Exporting dataset: zroot/iocage/jails/mx132 Exporting dataset: zroot/iocage/jails/mx132/root warning: cannot send...
  11. uchman

    Solved slow network speeds with jail (and vnet) on FreeBSD 14.0-RELEASE

    I upgraded my home server to FreeBSD 14.0-RELEASE yesterday and since then i'm experiencing really slow speeds to my jails (bhyve guests are not affected). I use iocage and vm to handle my jails and here is a sample from ifconfig: em0...
  12. C

    Cannot get SFTP work in FreeBSD 12.4 Jails

    Hi, I am new to this forum. In FreeBSD 12.3 Jail, I can easily to activate SSH server my the following command: sysrc sshd_enable=YES && \ service sshd start After that, I import my public key to user and I can use SSH / SFTP to connect to the Jail. However, in FreeBSD 12.4, my steps can only...
  13. byrnejb

    Solved freebsd-version and uname report different versions of FreeBSD

    We have an iocage administered jail that was recently updated to 13.2 from 13.1. However, we see this: [root@vhost02 ~ (master)]# iocage list +-----+--------+-------+--------------+--------------------------------+ | JID | NAME | STATE | RELEASE | IP4 |...
  14. spmzt

    Solved Allocating a physical interface with vnet + iocage

    Hi, Does anyone know, How I can allocate my vmx interface into jail with vnet in iocage? I can do it in ezjail with this variable: export jail_test_vnet_interface="vmx1" I think it may not support this feature without a bridge.
  15. B

    Broken Upgrade from 13.0-RELEASE to 13.1-RELEASE

    I recently upgraded my server from FreeBSD 13.0 RELEASE to 13.1 RELEASE. I followed the instructions in the handbook, but I'm having issues, especially with iocage. When I attempt to run iocage, I get this error: # iocage ld-elf.so.1: /lib/libc.so.7: version FBSD_1.7 required by...
  16. 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...
  17. 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...
  18. 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...
  19. 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: $...
  20. 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...
Back
Top