jails

  1. B

    Potential bug with using numeric Jail names in /etc/jail.conf

    Hi All, I didn't know where to post this because I could not find a specific jail forum so figured I would post it here as a base system general thread :) Am no expert so really after some opinions from experienced users and anyone who has seen this happen. It would be great to know if this...
  2. M

    IPFW Setting a common IP for both the Public IP and Jail IP

    Hello All, We are having trouble with finding ways to redirect the public IP address to the jail IP address. We have looked into the rc.conf and jail.conf files but are now sure how we should edit any of these files to achieve this. We have previously been unsuccessful in editing pf values...
  3. J

    jails pkg version mismatch

    On my system, pkg within jails seems to complain about the version numbers. I have checked the older posts (mostly from late last year) in this category, but I don't believe they solve my problem. Symptoms: Issuing a pkg update within a jail gave the apparently common error But, doing uname...
  4. J

    How can I assign an IPv6 address to a jail on a cloned interface?

    Hello, I have some jails on my FreeBSD host. They have IPv4 addresses on a cloned interface lo2 I created. None of the jails has an ip address on the external interface of the host. They only use the cloned interface lo2 and I configured my pf firewall so that the host acts as a router and does...
  5. vermaden

    HOWTO: RabbitMQ Cluster on FreeBSD Containers

    I would like to share HOWTO about RabbitMQ Cluster on FreeBSD. RabbitMQ Cluster on FreeBSD Containers https://vermaden.wordpress.com/2019/06/05/rabbitmq-cluster-on-freebsd-containers/ #verblog #amqp #cluster #containers #freebsd #go #HA #jails #rabbitmq
  6. tommiie

    Solved Jails vnet - FreeBSD Mastery - multiple interfaces

    Starting on p. 165, to create a jail with multiple interfaces, you need to do: create a cloned interface (lo1), specify multiple interfaces for the jail in a comma-separated list, call the jib script with the bridge names, be happy. Step 1: /etc/rc.conf: ifconfig_em0_name="lab"...
  7. tommiie

    Solved Jails vnet - FreeBSD Mastery examples

    Hey all, I follow along in Lucas' new book FreeBSD mastery: Jails. Starting on p. 159, I copied over the /usr/share/examples/jail/jib file and make it executable (something Lucas fails to mention). However, I use a different name for my physical interface: lab instead of jailether...
  8. mod3777

    Unprivileged jails

    Linux has Unprivileged containers, through which a user can manage containers if admin allows him via a special config file, faking some parts with user subuids and subgids, and others, like create devices, etc… are "bypassed" during the installation process of "tweaked" templates of lxchub (or...
  9. 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...
  10. I

    When to use Jails with VNET, and when not?!

    Would someone please give me a brief explanation of when to use jails with VNET and when not to? If VLAN-ing is not my concern, and services I use do not need a separate network stack - let’s say I run anything from DNS server to MailServer, Database, Java Application Server, VCS, CICD...
  11. N

    Jails and failover

    Hello, I need to build on 2 different servers, some jails environments to host websites, so that they are replicated and can do failover between them. I saw that on Youtube a user showed exactly what I'm asking for (www.youtube.com/watch?v=OOqMI4-qMg8), but I can not find guides and / or...
  12. S

    PF Jails with NAT

    I'm trying to set up an Ampache media server at home and am taking the opportunity to learn how to use jails on FreeBSD. I'm trying to set up jails on a separate loopback network on the host and use the NAT features of PF to direct the traffic where it should go. I've tried following multiple...
  13. Farhan Khan

    Jail does not respond over IPv6 until it initiates traffic

    I am experiencing this odd issue when I restart one of my jails, which operates as the IPv6 router, does not respond to IPv6 packets, even though tcpdump reveals that it receives them. It isn't until it initiates a traffic with other hosts that it starts to respond. IPv4 works just fine. I have...
  14. J

    Solved Do nullfs mounts count toward disk usage?

    This is probably a very simple, bordering on stupid, question; so apologies for that. Do nullfs mounts (of host filesystems) within a jail count toward actual disk usage? If I mount a host filesystem in a jail as a read-only nullfs, doing du on the jail includes the (size of the) mounted...
  15. R

    PF PF config for double NAT jail host

    I think that I'm being somewhat ambitious and I'm finding that I'm getting some horrible issues as a result. Firstly, what I'm trying to achieve. The way that I have tried to set up this network in the past was that the router was in the DMZ and that it passed some traffic (HTTP/S) through to...
  16. 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...
  17. squirtle

    Setting up a router in a jail to use openvpn client

    I know, this appears to be answered all over the place. But none of the answers are working for me so I must have misunderstood something somewhere along the way. Background: I'm trying to set up a FreeBSD jail that acts as a router. Inside that jail, I'd like to run OpenVPN. I would like all...
  18. timypcr

    Trouble installing packages in jails after FreeBSD 11.2 upgrade

    I recently upgraded from FreeBSD 11.1-release to 11.2 following the handbook, I’m now getting : size mismatch, cannot continue on some of the jails when attempting to update and install packages. For example when I attempt to install curl Fetching curl-7.61.0.txz: 100% 1 MiB 1.3MB/s...
  19. rumate

    Solved Jails configuration

    Hi all, I wonder if it is possible to define automatically starting services in /etc/jail.conf? I can set an IP address for a jail, define the NIC to use, give a hostname and other variables. I couldn't start apache24 using exec.start, I assume, because this service isn't enabled in the jail's...
  20. J

    Other Difference between Fail2ban "jails" and FreeBSD jails

    First off, I am not 100% sure if this question belongs in this forum, or in the general topics (base system) forum. So I'd be grateful if a more knowledgeable admin advised on it. I am reasonably familiar with FreeBSD jails, and I use them often enough (via ezjail). While recently checking out...
Top