jail

  1. S

    Solved vnet jail vlan setup, on lagg interface

    Hi all, I'm trying to setup a separate subnet for my jails, and I think I have everything setup correctly, but am unsure. Here is the Switch: trunk 45-48 Trk2 LACP vlan 23 name "Jails" tagged 23,Trk1-Trk2 no ip address exit Trunk 1 is the firewall, Trunk 2 is the server. I know my...
  2. I

    What is the new jail(8) feature "allow running Linux® in a jailed environment" (in 12.2)?

    In the latest FreeBSD 12.2 release, there is a feature "The jail(8) utility has been updated to allow running Linux® in a jailed environment.". Diving further, the doc for jail(8) has these entries: What does this mean? Does this mean we can boot an entire Linux OS (not just some Linux...
  3. V

    PF Route jail data through wireguard

    I have successfully set up a jail following genneko's notes on setting up a jail in FreeBSD. However after installing and enabling Wireguard every single boot time, my jail has no network. I modified genneko's jails into making one jail by the way. Here's how my set up is looking at the moment...
  4. I

    bhyve Need help installing/running Debian using bhyve inside jail.

    I'm trying to boot a Debian disk image and get it running using bhyve within a jail. When I execute this command (inside the jail): it causes a "vm_create: Device not configured" error. I dived deeper into the vmrun.sh file and inserted the following code: just before: The printout is...
  5. patpro

    Solved Reuse Bhyve's public switch with jails

    Hello, I'm running a FreeBSD 12.1-RELEASE server that hosts few bhyve VMs. The network config is like this: ixl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=e507bb<RXCSUM,TXCSUM,VLAN_MTU,...> ether ... inet MY.PUBLIC.IP.ADDR netmask 0xffffffc0...
  6. T

    Solved can USB devices be directly assigned to a jail?

    Is it possible to directly access a USB device in a jail? I came across this article: https://forums.freebsd.org/threads/usb-passthrough-to-iocage-jail.73292/ It seems possible to do so from that article. If it is possible, would it make sense to create a Linux jail that has raw access to a...
  7. Ulrich

    Jail: after jexec $DISPLAY seems okay but "unable to open display"

    Hi guys I'm using FreeBSD since 4.2 but only recently dived into jails. Is there a chance to get X11 apps running in a jail after entering the jail with jexec (not through ssh)? Thx Eduard
  8. Norbert Szczybelski

    FreeBSD bhyve VPS/Jail Hosting on single IP address.

    Good Evening. :) Are You Web Developer? Working in Computer Service? Got only one IP address? You can start your own hosting server that will expand your offer. Most of important things here are OpenVPN for Jail and bhyve SSH access and HAProxy for SNI extension based routing. Your...
  9. J

    Running two Mail Servers (sendmail and exim) on the same server, one in a jail

    I am running FreeBSD 12.1. It has the default sendmail server running. I want to install exim in a jail. I want to have exim connect to my mail server in another state, Texas. All it will do is connect and download the mail. A local mirror if you will. Exim will not sendmail, or act as a...
  10. poorandunlucky

    How do you connect to a jailed server?

    This is probably really stupid, and I'm in no way a FreeBSD newb, but I'm new to jails, I used to run everything on the main OS, but now I'm trying to setup things that are going to be open to the Internet (like NextCloud, a VPN, DNS) so I want them jailed... I've setup my jails no problem...
  11. 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...
  12. F

    Vnet jail with public internet access using the bridge epair method

    All the vnet literature talks about a vnet jail having it's own separate ip stack. I and most everyone else interpreted this to mean that the vnet jail's stack was connected directly to the host's external interface facing the public internet WITHOUT the host's firewall knowing anything about...
  13. B

    separation of IP cameras

    Hello All, I would like to ask more experienced users how to conceptually approach the following task. I have a subnet 192.168.1.0/24 running a file server and backup machine in iocage jails (jails' IPs are on the same subnet). I would like to install IP cameras with zoneminder again running in...
  14. bagas

    jail network interface lo

    Hello. Please tell me. I have several jails, in jails you need to raise the lo0 interface. How should I do it? My system FreeBSD 11.3.
  15. Alain De Vos

    Building kernel and world in a poudriere jail

    Can I build a kernel and world in a poudriere jail? Is there a kernel and world port ? Or how to do ?
  16. altyne

    Solved mongodb Warning: failed to start mongod

    Well, seems the message is trival but the biggest issue I encountred. It has no logs created in /var/log. 1. created a jail. (all actions took inside jail) 2. install: pkg install mongodb40 3. append /etc/rc.conf => with mongod_enable="YES" 4. service mongod start 5. Viola! Warning: failed to...
  17. alex_noxx

    I can't access the internet inside the jail on freenas

    Hi. I am trying to configure a jail in freenas inside virtualbox. The problem I am having is that I cannot access the internet inside my jail. My jail is configured without NAT. Only with VNET without DHCP. My jail's network settings are: root@reverse-proxy:~ # ifconfig lo0...
  18. P

    vm-bhyve freebsd jail

    Hi, I am trying to set a jail with vm-bhyve, so I have downloaded FreeBSD 12-1 Release dvd iso, and checked the sha256 checksums, then followed this instructions -> https://github.com/churchers/vm-bhyve Everything goes well and no errors occured. But in the end of the installation, it shows...
  19. A

    pkg -j first _jail install does not work

    Hi All, I am new to jail and am learning; I have created few jails, root@FreeBSD113:~ # jls JID IP Address Hostname Path 1 10.0.0.6 y_jail /usr/jails/y_jail 2 10.0.0.2 firts_jls...
  20. quamenzullo

    Solved Lock root account in a jail

    I've read somewhere (no reference, unfortunately) that I could use vipw to edit /etc/master.passwd and put an exclamation mark in the root line to prevent root from having a password. Like so: root:!:0:0::0:0:Charlie &:/root:/bin/csh I wonder if I should do this in my jails. I am not so sure...
Back
Top