jails

  1. antranigv

    Solved Using Jail host as a cache server for pkg and freebsd-update

    Hi all! how are you? :) I have a Jail host which contains about 50 Jails. During day-to-day operations, I need to install packages, a lot of these packages are the same (nginx, vim-console, etc), it would be really good if I can make the Jail host a pkg cache server, where the Jails can use the...
  2. J

    Running the same service (apache, mysql) in multiple jails

    I am running a few jails via ezjail. Nginx and pf on the main host take care of routing incoming requests to the appropriate jail. Each jail needs to run different instances of the same service - Apache and MySQL. Please help me get the set up right for doing this^^. As far as I understand...
  3. D

    pppoe, jails, firewalls and me

    Hey Community, I want to try something but need some advice before I start. If I open a pppoe connection on a machine which has some jails instantiated, could these (maybe compromised) jails do something nasty with that tun device? In my understanding the kernel creates the pppoe device which...
  4. wayne47

    Possible bugs with quotas in 12.0-RELEASE-p11.

    I have been fighting with quotas in jails and have found a number of inconsistencies with quotas and associated commands on both the host system and the jails. In prior releases, I have successfully deployed jails supporting quotated users with ezjail. I'm looking to move to 12.x and have been...
  5. 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 is...
  6. 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...
  7. 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...
  8. 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...
  9. 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
  10. 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"...
  11. 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...
  12. fr0xk

    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...
  13. 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...
  14. Q

    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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. The Alchemist

    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...
Back
Top