iocage

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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 |...
  12. 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.
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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: $...
  18. 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...
  19. 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...
  20. 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...
Back
Top