jail

  1. M

    jails Issue while following the handbook to create a Thin Jail using NullFS

    I am trying to create my first Jail, my host system is FreeBSD 13.2 and uses UFS. I am aiming to create thin jails for my workstation as my disk space is limited. It is my understanding that Chapter 17 of the Handbook, that covers the manual creation of Jails covers this case. I include the...
  2. F

    jails How do I run jailed services with nomad?

    I am new to FreeBSD & jails. I am aware that using a tool like sysutils/pot would probably do what I wanna do but my goal is to learn before picking one of those. I have created a set of thin jail using ZFS snapshots...
  3. P

    jails Conflict on TUN interfaces between different jails

    I have two separate jails that are not visible to each other. There is no sharing of tun* interfaces in the devfs.rules. However, when I create the tun0 interface in Jail 1, I encounter difficulties creating the same interface, tun0, in Jail 2. Upon attempting, I receive a message indicating...
  4. dnb

    jails Moving jail between computers with different CPU architectures

    I have a jail that I would like to run on different computers with different CPU architectures. For example, on one computer it is an old Intel Haswell, and on another it is an AMD EPYC 7003. First, this Jail is compiled from source on an AMD EPYC 7003 computer. Secondly, it contains many C++...
  5. D-FENS

    Solved How to set environment variables inside a "jexec" call?

    I would like to call a command inside a jail using jexec while setting environment variables for that particular call. In a shell inside the jail I would call: KEYCLOAK_ADMIN=admin KEYCLOAK_ADMIN_PASSWORD=admin ./kc.sh show-config How can I trigger this call outside of the jail? I tried...
  6. freezr

    jails Bastille: how to delete old bootstraps?

    Dear All, I am writing some personal documentation but I lost some notes about Bastille, and even looking at the history of the commands I can't find them, and perhaps you could help me. I remember that I had an issue cause bootstrapping from a version to a newer one filled my limited storage...
  7. D

    bhyve FreeBSD bhyve installation = can't find hostid/entropy

    Operating System OS: FreeBSD-13.2-R2 FreeBSD Crystal 13.2-RELEASE-p2 FreeBSD 13.2-RELEASE-p2 releng/13.2-n254627-4341433a673f GENERIC amd64 Issue: Any FreeBSD ISO image when attempting to install bHyve from a jail result in the following result. Original this was within a Jail, but can...
  8. cgenie

    pf.conf for VPN inside jails

    Hello, I have trouble setting up pf.conf so that from inside a jail I can access my VPN network. I'm using Bastille and I have something like this in the pf.conf file: bastille_if="bastille0" ext_if="vtnet0" vpn_if="tun1" my_jail_addr=10.10.2.30 my_vpn_addr=10.15.1.1 set skip on lo #set...
  9. K

    PF Two nginx instances running; eliminate one with PF?

    I've a FreeBSD box, nginx running as a proxy, forwarding HTTP/HTTPS requests to the nginx instance in the Jail, running on 10.0.0.3 within the OS. So, that practically means two nginx instances running on the server. I wonder if I could forward the 80/443 port requests DIRECTLY to the nginx in...
  10. K

    jails Jail startup sequence on Pot?

    Hello there. I'm using Pot (jail management tool) under FreeBSD, I cannot find jail startup sequence configuration in it. With raw, home-made Jails created by jail.conf, I had jail_list="sqljail phpjail webjail" and jail_reverse_stop="YES" in my rc.conf, however how to configure these in Pot...
  11. B

    25G in a jail or bhyve

    Is there a way to get the full line speed of the NIC in a jail or bhyve ? I have a server with a mlx5en(4) NIC, a Mellanox ConnectX-4 Lx 2x25G. I would like to setup it as a router and provide a wan for the internal vms /jails and others machines. Unfortunately there is an issue using SRV-IO...
  12. G

    jails Jail and VM host: new to FreeBSD

    I am not a sysadmin. I have used Linux for a long time and have run multiple servers but I am new to BSD. I have little experience of running containers or VM hosts. I have been running one VM host server (using Proxmox) and some desktop VMs (using Virtmanager) and containerising some desktop...
  13. DtxdF

    Install WordPress With Appjail Director

    What Are AppJail and AppJail Director? AppJail is a framework that provides preconfigured and self-contained applications, frameworks and software stacks, such as WordPress. Using this tool we will have a package installed inside a jail, a lightweight and isolated environment with any custom...
  14. L

    ssh connect and jails

    Hello everyone! can anyone help me with the following problem i have. I have two jails with Ubuntu and Alpine Linux, everything works fine, but I can't ssh into them. In other jail with FreeBSD I can connect I will mention that the ssh service is started, but it doesn't work when I try: ssh...
  15. spmzt

    Solved Weird Netgraph Behavior With Jail VNET

    Hi, I'm currently dealing with an intriguing situation that involves the Netgraph and its interaction within a FreeBSD Jail configured with VNET. Background: I have loaded the ng_ether module on the host machine. Additionally, I have set up multiple FreeBSD Jails with VNET and they are...
  16. A

    jails IPv4 Routes From Jail's FIB

    UPDATE: I may have actually solved this, by swapping the order so that the jail creates the RFC1918 address on that interface FIRST, and then creates the loopback interface second. Now this confuses me even more, since I cannot route using ipv4 from the host system on that FIB, but it is...
  17. C

    Solved Issue with hierarchical jails

    I'm attempting to launch a jail in a jail on FreeBSD 13.2-p1. In principle, such a hierarchical jail should be working - as far as I understand, poudriere is making use of that. So I suppose I must have f*ed up my config somehow, but I can't seem to find the issue after poking at it for several...
  18. 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...
  19. T

    Lost home directory

    Hi, It's weird, my FreeBSD 13.2 lost my home folder. I did'nt do anything to the system and it just lost. I'm using ZFS and have FreeBSD pot on it anyway.
  20. MsieurSVP

    Solved Nginx, Jail, Nextcloud : I Need Help !

    Hello from France ! I need your help to achieve my configuration qhat I'm trying to test : I want to securize my server with working with Jail. I have : a FreeBSD Host 13.1 (ip=192.168.1.120) with an nginx ; a jail (ip=10.7.16.101) with nginx, php-fpm for Nextcloud 26 in a subdirectory...
Back
Top