jail

  1. G

    PF pf - does not block traffic to jail

    I have remote FreeBSD server with name server inside jail. My rules are: ext_if="em0" ext_ip="X.X.X.X" jail_net="10.0.0.0/24" ns_ip="10.0.0.1" icmp_types = "echoreq" table <blacklist> persist file "/etc/pf/blacklist" table <trusted> persist file "/etc/pf/trusted" set block-policy drop set...
  2. danbanta

    jails Mounting nullfs in jails causes empty directories for parent mount

    Good morning, evening, or afternoon. I currently treat my jails as stateless. I do this by mounting host zfs datasets into the jail using nullfs to store state. Sometimes this leaves the data directory on the host empty although the data is present. Why do I see this behavior? What am I doing...
  3. fedqx

    Solved Issue with building the port in Jail

    Hello, I have been trying to build graphics/drm-fbsd12.0-kmod inside a Jail with make package but there I am having an issue: ===> radeonkmsfw/verde_smc (install) install -T release -o root -g wheel -m 555 radeon_verde_smc_bin.ko...
  4. fedqx

    Solved Creating Separate Virtual Interface For Jail

    Hello, I have set up an jail with ezjail while following this handbook tutorial. After setting it up, my physical interface that host uses has two IPs, one for jail one for host. For some programs listening on all IPs in host's interface this is not ideal. Can I add a virtual interface with its...
  5. I

    Help needed to get KDE installed and running inside a Jail.

    I'm trying to install KDE in jail. I've installed these: Set the /etc/fstab (inside the jail): And added to /etc/rc.conf (inside jail): And the I tried to start the jail, and got these errors in the sddm.log file: I tried to run "Xorg -configure" and got: I think there is no video...
  6. B

    jails Jail | Samba | Previous versions

    hi, I'm trying to setup samba shadow copy in jail. I follow the documentation and searching forums but my settings not working. The previous versions not showing in windows tab. Where I'm wrong ? smb.conf [global] workgroup = TEST server string = Samba Server Version %v security = ads realm =...
  7. S

    iocage jail can only reach its host but not the LAN

    I'm in the middle of setting up a dedicated server. It's running ESXi and I installed a FreeBSD guest. Using iocage I want to create some jails. I have done this before more than once and usually this is strait-forward... but this time I'm stuck somehow. The jail is created with vnet=on and I...
  8. B

    How To: Webcam and Microphone Inside of GUI Jail

    One-stop guide on how to get your webcam working inside of a GUI jail, including the microphone. Assumes you already have GUI set up inside the jail. My hardware: Ryzen Threadripper 3960x, NVIDIA 2080 RTX, Logitec C920 Webcam OVERVIEW - Background Info - Load Kernel Modules - Install...
  9. R

    How do I route all Jail traffic through OpenVPN on FIB1

    Hello FreeBSD users, this is my fist post, I'm still learning so please be gentle :) I am trying to setup a jail (using ioCage) so that all of its traffic goes through our VPN. I have already setup OpenVPN which connects to our VPN service without issue. However the I seem unable 😕 to...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. patpro

    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...
  15. 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...
  16. 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. I want share for you my solution that are working for me very well. Most of important things here are OpenVPN for Jail and bhyve...
  17. 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...
  18. 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...
  19. 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...
  20. 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...
Top