jail

  1. 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...
  2. 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...
  3. 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.
  4. 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...
  5. codetrotter

    Solved vnet MAC address when using jails - how to avoid leaking?

    Hi, I am using jails with vnet on FreeBSD 13.1-RELEASE Host /etc/rc.conf looks like: hostname="de1" ifconfig_em0_name="extif" ifconfig_extif="DHCP" ifconfig_extif_ipv6="inet6 2a01:xxxx:xxxx:xxxx::2 prefixlen 64" ipv6_defaultrouter="fe80::1%extif" ipv6_gateway_enable="YES"...
  6. MsieurSVP

    Solved Bastille, Processes and Htop

    Hello from France ! Does anyone know how to distinguish processes originating from multiple jails, specifically with htop or another tool ? Many thanks !
  7. L

    Need some help with epair / bridge for multiple Jails

    The Goal Run many jails that each serve their own ssh. I got about as far as getting the jails running and then hit a wall with networking. It seemed simple enough going in but I'm completely crashing and burning for some reason. Any help would be appreciated. The Configuration details The...
  8. 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.
  9. subnetspider

    Solved Running an NTP time server in a jail?

    Hello everyone, I'm currently trying to migrate more and more of my network services into jails, mainly for learning as well as decentralization. Now I'd also like to run NTP servers in a few jails, but I don't know if that's even possible since jails use the time of the host's kernel. In...
  10. DtxdF

    jails AppJail: Simple and easy-to-use tool for creating portable jails.

    AppJail is an open source framework entirely written in sh and C to create isolated, portable and easy to deploy environments using FreeBSD jails that behaves like an application. Features: Easy to use. Parallel startup (Jails & NAT). UFS and ZFS support. RACCT/RCTL support. NAT support. Port...
  11. D

    PF Correct way to open ports for jail to jail communication in pf

    I am currently learning a bit about FreeBSD with the goal of moving my server from Debian to FreeBSD. Currently I am working on running some applications (e.g. Nextcloud) in jails. Services that are needed by multiple applications I want to outsource to own Jails, an example would be Redis. I...
  12. HL1234

    Some questions about make package-recursive

    I have search for an answer but didn't find it. first, a short description: I would like to build ports in a jail. From an example and the handbook suggestion, I have mounted the ports tree (ro) into the jail and have set "WRKDIRPREFIX=/tmp" etc. ... for places that must be writable. Result...
  13. U

    Solved Running jails from /etc/jail.conf.d?

    Hi all, On a clean install of 13.1-RELEASE, I have noticed that there is now a "/etc/jail.conf.d" folder. As this would make automated jail management easier for me, I would like to make use of it. I made a simple test configuration in /etc/jail.conf.d/test.conf, and tried starting the jail...
  14. HL1234

    portupgrade: ruby-gems fails to install in a jail with a linked port system.

    Hello, I have the same problem, like its described in two Bugs: "Bug 249083" "Bug 251667". Description: In my jail I want to install ports-mgmt/portupgrade. This port need the port devel/ruby-gems. devel/ruby-gems could be build without any error, but the install fails: ===> Installing for...
  15. U

    Solved Difficulty upgrading Jails

    Hi All, I upgraded my server from 13.0-RELEASE-p4 to 13.0-RELEASE-p13, and when I tried to run python3.9 in a jail I got the following error: ld-elf.so.1: /lib/libc.so.7: version FBSD_1.7 required by /usr/local/lib/libpython3.9.so.1.0 not found So I search on the forum and find this...
  16. A

    Solved netgraph vnet jail not getting ip address via DHCP

    Any netgraph gurus out there? I created two vnet jails with the help of the devin teske's jng scipts and example jail.conf under /usr/share/examples/jails/. I can enter either jail using jexec However, I cannot ping any targets from inside the jails. The jails do not appear to have ip...
  17. C

    Solved Accessing OpenVPN Client network from jail

    Hello. I have question. I have FreeBSD Host with one JAIL. On Host i setup OpenVPN client and i get routing to 192.168.0.1/24 over 10.4.44.109. From host i can ping 192.168.0.1 and that works fine. But from JAIL, i cant ping 192.168.0.1 and even 10.4.44.110 (my end of openVPN tunnel) Can i ask...
  18. spmzt

    ocserv in jail: cannot open /dev/tun

    Hi, I installed net/ocserv 1.1.3 on Freebsd 13.1 in jail. and I can create tun interface inside the jail. The problem is the net/ocserv try to access the /dev/tun inside my jail and it obviously fails. Here is my configuration: /etc/devfs.conf: [devfsrules_jail_overlay=5] add include...
  19. J

    Jails vs Docker performance

    I recently came across research (Bachelors thesis) that benchmarked jails against Docker. The conclusion was that, except for startup time, Docker outperformed jails in almost every category (memory - writes/sec, IO, CPU - events/sec). In some categories (read from disk), Docker outperforms by...
  20. A

    jails Jails on RPi4B as DHCP/DNS/file/web server/router

    I'm downsizing my server (an old 2006 hp ProLiant 19" rack monster with 41 disks) for a Raspberry Pi 4B 8GB as the electricity here in southern Sweden has become absurdly expensive. (The whole thing draws about €70 worth per year, now it is looking more like €4000...) While I'm redoing...
Back
Top