iocage

  1. 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?
  2. 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...
  3. 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...
  4. Farhan Khan

    Multiple iocage failures in all scenarios, networking not working

    Hi all, I would really like to use iocage, but I cannot get routing/networking working at all despite multiple configurations scenarios. My Base system has the IPv6 address: My_Prefix::83c:5001/64 and a public IPv4 address, both on vtnet0. It also has the IPv4 internal address on vtnet...
  5. Farhan Khan

    iocage and vnet using wrong interface

    Hi all, I am trying to setup iocage to create a vnet jail and cannot figure out the right series of commands. I have em0 and re0. I want the vnet to bridge to re0, not em0. However, it keeps adding em0 to the bridge. My setup is as follows: In /etc/rc.conf: cloned_interfaces="bridge0" # plumb...
  6. T

    Understanding permissions in jails and host

    Hello everyone, I have recently upgraded my FreeBSD 10.3 server to 11.2. With this change, I also setup my system using jails: - Plex - Samba - Apache PHP stack - Nginx Node.js stack - Database stack - Etc. I have two ZFS pools: - zfs-os the FreeBSD OS - data mounted to /data I am using...
  7. L

    Solved Jails - ezjail, qjail, iocage, other

    After almost a couple years away, I'd like to know about jails management systems, for a new server. In the past I've used ezjail, then qjail. Now, in 2018, are all these tools up-to-date with current? ezjail is mentioned in the manual, so I guess it should be... iocage seems to require Python...
  8. R

    Application User Permission - iocage jail

    I run a number of jails in a FreeNAS environment, and have run into an issue where applications running under a user other than root are unable to set owner:group or permissions on files/folders. I have attempted to add the user as a member of the wheel group, but the application is still...
  9. scrappywan

    IOCAGE jails not found after pkg upgrade to 0.9.9.1_1

    On FreeBSD 11.1 I have four jails running that were created with py36-iocage about three months ago. Recently I ran pkg update/upgrade on my system and it upgraded IOCAGE to version 0.9.9.1_1. Since my last reboot IOCAGE can no longer locate any of the jails it originally created as if it...
  10. J

    iocage fetch fails

    Hi, I'm quite new to FreeBSD. Have been using pfSense and FreeNAS for long but naked FreeBSD I'm new to. I just installed it on a KVM host as a guest, version 11.1. Then I installed pkg install py36-iocage. It doesn't work though. When I install it from github (0.9.10 RC10) the problem does not...
  11. 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|192.168.1.8 started it: iocage start xwiki and accessed it: iocage console xwiki Now the output of ifconfig...
  12. scrappywan

    FreeBSD VPS Jailed Web Servers Network Isolation

    I have a VPS on Digitalocean which I used mfsbsd to reinstall FreeBSD with ZFS/zroot with PF as my firewall. My plan with this VPS is to run wordpress, a static site and owncloud each in their own jails. Currently, I use nginx on the host machine running as a reverse proxy, intercepting https...
  13. N

    Best practise for handling ports tree with iocage managed basejails

    Hi, What's the best practise to handle the prots tree with iocage managed basejails? Currently I am manually nullfs mounting the host systems /usr/ports everytime I need it in each jail, but as the number of jails are growing this feels more and more cumbersome. Please advice! Thanks in...
  14. S

    PF Unable to DNAT to jail

    All, I have been fighting with this for a couple days now with no luck; I would greatly appreciate any help. I have my server listening on 10.21.96.200 and my jails, which are ran from within IOCage are listening on 192.168.0.1/24. I am able to telnet to 192.168.0.2 445 (samba) just to insure...
  15. shanoplex

    Slow iocage performance

    I'm trying to determine why sysutils/iocage is so slow on my server when compared to a small VirtualBox VM on a laptop. Here are the specs of each. Let me know if more information is required! Jail Server: Model: Dell R610 CPU: Intel L5520 RAM: 32GB ECC RAM HD: 2x 120GB SSD (striped ZFS) OS...
  16. forquare

    Solved iocage Jail cannot escape home network

    Afternoon all, I have a fresh install of FreeBSD 10.2, it’s installed on VirtualBox. I have given the VM 4x virtio-net bridged adaptors—so they appear to be on my home network (192.168.1.0/24). My host rc.conf looks like this: hostname="aglardae" keymap="uk.iso.kbd" ifconfig_vtnet0="DHCP"...
  17. M

    Jails loose network access after a while

    I am using iocage to manage my jails. When I created the jails, I assigned them an address on my LAN with a command similar to: iocage create tag=myjail ip4_addr="re0|192.168.1.201" However, after a few hours the network in the jail disconnects. I can't think of a good way to explain it, but I...
  18. H

    Solved iocage does not handle releases properly

    Up to now, I have always used iocage with the release of the host system. Today, I wanted to try to create a jail with the 9.3-RELEASE but I ended up with a 10.2-RELEASE on the jail. To be sure I did things properly, I did the following steps. # iocage clean -r WARNING: this will destroy all...
  19. H

    How To: Execute Firefox in a jail using iocage and ssh/jailme

    Motivations The main reason to put a browser in a jail is quite simple : browsers cannot be trusted. They are too much exposed. Executing a browser inside a jail is a way to be sure that the damages induced by a malicious software are contained (as much as possible). I decided to write this...
  20. dch

    Solved iocage jail IPv6 DNS doesn't work

    I'm new to IPv6 networking and trying to set up jails using sysutils/iocage-devel on FreeBSD 10.2R amd64 in Hetzner, who charge for every extra IPv4 but give you an IPv6/64 free with every root server. I've got DNS lookups working over UDP from the jail to the host successfully drill -u -6...
Top