• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

jail

  1. This weird PF

    Hey Guys. Following problem: Inside a jail I can ping my nameserver, i can ping someones ip adress but I cant ping a domain name. I cant install pkg or anything else inside a jail, because its not working. I set up my jails with ezjail. I created a fresh jail but its not working. I have set my...
  2. Kay

    Solved Ports in jail after upgrade: Ports Collection support for your FreeBSD version has ended

    Hi I recently upgraded my system from 11.0 to 11.1. I also upgraded my jails with ezjail per this guide, basically using ezjail-admin update. However, now when I tried to install a port inside a jail, I got this error: [root@jail_foo /usr/ports/www/node]# make install clean /!\ ERROR: /!\...
  3. Usage of nullfs inside a Jail / Hack 88 / allow_mount_nullfs

    Hi! I've got the 88 character limitation for the fstab entry. It seems the problem will be solved in FreeBSD 12.x maybe in 2019. How can I use nullfs inside a jail? Thats my fstab entry for the jail. It mounts the specific blog domain to the Wordpress jail...
  4. Kay

    How to jail miniDLNA with NAT

    Hi I'm trying to set up a miniDLNA server inside a jail. When it's inside a jail, my LAN clients cannot access it. But if miniDLNA is installed outside of the jail, my LAN clients can successfully access it. My jail has it's private IP (192.168.60.3) address on host's lo1 interface. I then...
  5. kazix

    IPFW, Jail and network alias

    Hello, I'm trying to configure IPFW on machine with jail (FreeBSD 11.1) Host have one big lagg0, and when jail starting create alias on this lagg0. lagg0: flags=8843... metric 0 mtu 1500 options=401ba.... ether .... inet 10.10.1.102 netmask 0xffffff00 broadcast 10.10.1.255...
  6. fnoyanisi

    Failed to build llvm50 from ports inside the jail

    Hi there, I created a new jail via ezjail-admin, and attempted to build devel/llvm50 with the command below make -DBATCH WITH_DEBUG=yes install clean I left my laptop running all night and in the morning I saw the build failed at some stage. My base system (host that the jail is running on) is...
  7. Redis not talking to Apache jail

    Hello all, Hope someone can help me solve my problem. I have two jails (ezjail) on a FreeBSD 11.1 host (UFS): one running Apache 2.4 (192.168.0.2) and the other one running MariaDB 10.2 (192.168.0.3). The Apache jail has PHP 7.2 and Nextcloud 12. Nextcloud is running fine. No problems there...
  8. nixdmon

    Jail networking issue

    Hey All, Need you assistance in solving this networking issue. I am running FreeBSD 11-STABLE on my server. Use this machine as a router / NAS. I am investing sometime in setting up jails. Brief overview of what my setup is, what I am trying to accomplish and what the issue is. System is...
  9. petur

    Solved Should each jail have it's own loopback network interface?

    In the handbook section Managing Jails with ezjail, it is demonstrated how to setup a jail. From 14.6.1. Installing ezjail: (just below the reddish subsection), it says: Installing ezjail consists of adding a loopback interface for use in jails, installing the port or package, and enabling the...
  10. Ralf Rottmann

    Network unreachable in jail, dns resolution works fine

    Hi everyone, I'm not a FreeBSD / Linux pro but hope, you guys can help me resolve an issue I'm having with jails being unable to connect to the Internet. I've been running my FreeNAS system for a while, having upgraded from FreeBSD 9.x via 10.x to 11.x. I've got a couple of jails (all from the...
  11. sysnes

    Send command to jail from main host - Socket with openssl api

    Hi, first of all I want to thanks for this community, this forum have rich content. Is possible to send a command from the main host to jail host? Like this: ezjail-admin console WEBSERVER | nginx -s reload I want to restart a service and check status, so I think I need to do this via...
  12. How to create a ZFS dataset within a jail?

    I'm trying to run Docker (must be within a FreeBSD jail) How do I create this: -- You will need to create a ZFS dataset on /usr/docker # zfs create -o mountpoint=/usr/docker <zroot>/docker -- when zfs list shows "no datasets available" ? The jail name is "testing" and it seems that is trying...
  13. How to configure IP address in jails for a machine without network card.

    Normally, we have to put the network interface (e.g. em0 or igb0) when setting up jails. For example: jail_jailname_ip="192.168.1.100" jail_jailname_interface="igb0" If the network interface (physical card) is being sent as pass-thru via bhyve to a virtualized operating system running within...
  14. Where is official documentation for "jail.conf"?

    Since the several past releases, we had been been getting this message: /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. I had been keeping watch on the jails documentation for a few years and still couldn't see...
  15. DemoNIck

    CUPS in a Jail and "Waiting for printer to become available."

    I am creating this thread because I have a problem printing to a CUPS server installed in a FreeBSD jail and I am not sure if this problem is related to a misconfigured jail and/or misconfigured CUPS server. The host server (skg) installation is a FreeBSD 11.1-RELEASE. The jail (fileserver) is...
  16. Solved PF in jail: /dev/pf: No such file or directory

    When trying to start pf with service pf start, I get the following error message: Enabling pfpfctl: /dev/pf: No such file or directory pfctl: /dev/pf: No such file or directory pfctl: /dev/pf: No such file or directory My Jails are confiugred in /etc/jail.conf: # Global Stuff exec.start...
  17. FreeBSD Jails or bhyve hypervisor

    Hello community of freeBSD I have a project in mind to replace my windows server park. Currently I have a netgear as router and a Windows 2008 server that does AD and windows share. I have for idea to replace the netgear by PFSENSE and the active directory by samba4 for the domain controller...
  18. icecoke

    Some security concerns...

    Hi everyone, not sure if I'm in the right forum area, so maybe a mod wants to move this. Is it possible to 'track' actions that are done in a jail where an sshd server is running and offering root access (so of course no root access directly in the sshd, but after login su/sudo is possible)...
  19. goshanecr

    Solved Subnet on ExtIF and ipfw nat not working

    Good day! Please, help me understand, how setup FreeBSD 11-STABLE amd64 router with several ip addresses on external interface. I have: Provider give me subnet 1.1.1.2/24 gw 1.1.1.1 /etc/rc.conf # Assigned external IP addresses ifconfig_rl0="inet 1.1.1.2/24" ifconfig_rl0_alias0="inet...
  20. Solved Fetch: protocol not supported

    Hi, I don't understand why I can't use fetch from inside my jail. # fetch http://www.yahoo.com fetch: http://www.yahoo.com: Protocol not supported Name resolution works: # host -t A yahoo.com yahoo.com has address 98.139.183.24 yahoo.com has address...