jail

  1. R

    Jails setup with the external IP address on vtnet0

    Hello, I'm trying to setup jails on a Digital Ocean droplet by following the instructions in the handbook: https://www.freebsd.org/doc/handbook/jails-ezjail.html The network configuration is like this: * vtnet0 with the external IP address, 10.10.0.5 netmask 0xffff0000 (Digital Ocean's...
  2. O

    Build kernel and world from sources and jails

    Hello, I am looking for some feedback to improve my current setup/flow. What I have: * home server, with 12.1R with ZFS * a few jails that I manage with iocage (have a template that I clone to create new) * I build world and kernel from source from now and then, following handbook steps...
  3. epopen

    IPv4 /IPv6 preferred of local resolver and modify

    Hi All. I built some jail in my system, and connect each other / from base system. So I added pair of IP address - hostname into /etc/hosts as below ... fd00::ffff:10.0.0.3 ssh.example.com 10.0.0.3 ftp.example.com ... Tried by ftp ftp.example.com and got result as below. Trying...
  4. M

    Solved Vnet jail cannot connect to services running on host

    Hello I am currently learning how to use FreeBSD to host some basic services in Jails I am trying to configure networking with jails. I noticed that if I try to connect from a jail to a web server installed on the host, the connection is blocked even if the firewall is disabled. It is a setup...
  5. Trigex

    Setting up "The Lounge" web IRC client in a Jail

    After quite a bit of playing around this setup for The Lounge (My first production-deployed jail!), I think I've got something fairly solid built up! Here's a little guide to reproduce what I've done: Install sysutils/ezjail on your target host machine, if you haven't already and go through the...
  6. icecoke

    strange behavior of setfib since FreeBSD 12.0

    Hi everyone! We are using jails in FreeBSD since years (9.x and up) without problems. Since then we have two network cards in the (xen virtualized) machines, where one is private (10.0.0.0/8) and one is public (here changed to 1.2.3.0/20). To have the routing done, we use setfib for the public...
  7. D

    host network in jail with minimal setup

    Hello, I have setup jail (FreeBSD 12.0-RELEASE, host is 12.1-RELEASE), I want to allow the jail to have access to host's outside network (em0 and wlan0, can be lo0 too). I have very basic knowledge of networking (I will really appreciate detailed answer with commands and explanation :) ), I...
  8. D

    Resource limits for jails

    I want a jail that can't allocate more than 512MB memory and ist not able to consume more than 25% of the cpu. The FreeBSD builtin jails have no options for resource limiting. Check jail.conf(5) and jail(8). I have found that you can limit resources for specific users according to 13.13...
  9. D

    jails and loopback

    Im new to freebsd and jails, please be patient. according to the freebsd documentation, one should create a cloned loopback for a jail instance. I can't get behind the purpose of creating multiple loopback interfaces. can someone explain me this? Should I create a new lo interface for each...
  10. K

    Solved Putting instances of dhcpd into jails

    I am looking to more centrally manage the IP assignments on my home network by using ISC's dhcpd to hand out fixed addresses. That way, I can still reliably run local DNS for the internal network and manage IP assignment by linking a MAC to a specific IP. However, I want to do this for both...
  11. B

    Potential bug with using numeric Jail names in /etc/jail.conf

    Hi All, I didn't know where to post this because I could not find a specific jail forum so figured I would post it here as a base system general thread :) Am no expert so really after some opinions from experienced users and anyone who has seen this happen. It would be great to know if this is...
  12. I

    I need some help for jail setup

    I need some help for jail setup. We have now moved to jail.conf and the "devfs_ruleset" is giving us some problem. Previously, it was something like jail_jailname_devfs_ruleset="devfsrules_jail" in the old style. I tried to put "devfs_ruleset = "nginx_ruleset";" and I'm getting this error...
  13. M

    IPFW Setting a common IP for both the Public IP and Jail IP

    Hello All, We are having trouble with finding ways to redirect the public IP address to the jail IP address. We have looked into the rc.conf and jail.conf files but are now sure how we should edit any of these files to achieve this. We have previously been unsuccessful in editing pf values...
  14. byrnejb

    Solved FreeBSD 12.0p10 PostgreSQL-9.5 Cannot initialise postgresql in a jail

    I have set up a jail specifically for PostgreSQL. PostgreSQL-9.5 is installed via the pkg manager. When I try to initialise it I get this: /usr/local/etc/rc.d/postgresql oneinitdb The files belonging to this database system will be owned by user "pgsql". This user must also own the server...
  15. R

    Segmentation Fault 11

    hi, When I run a command inside a a jail using sudo I get a segmentation fault but running the command normally works. How do I go about trouble shooting this ?
  16. U

    SystemD in a Jail

    This is a serious post so serious replies only please. I'd like to run a Linux userland inside a jail. Nothing new there. The more popular Linux distros use SystemD. What would it take to run a SystemD userland inside a jail? My guesses are: 1. Linuxulator adds / extends its API to support...
  17. N

    Kernel Panics in 11.2-STABLE

    Hi, I've been having an issue with one of my servers that runs rclone all day. It kernel panics after about 13-14 days of uptime, and the only difference on this host is that it runs a lot of rclone processes inside of a jail. Here is the console message: Fatal trap 12: page fault while in...
  18. R

    Issues with file operations or why is vi slower than dd?

    I have a FreeNAS Mini running with a jail for Nextcloud. While moving my files from Dropbox to the Nextcloud instance, I realized that there are many fastcgi timeouts happening. In order to investigate the cause, I observed a strange behavior which I don't really understand but my hope is that...
  19. J

    How can I assign an IPv6 address to a jail on a cloned interface?

    Hello, I have some jails on my FreeBSD host. They have IPv4 addresses on a cloned interface lo2 I created. None of the jails has an ip address on the external interface of the host. They only use the cloned interface lo2 and I configured my pf firewall so that the host acts as a router and does...
  20. R

    VNET ARP replies are lost

    My setup is as follows: freenas ---- switch ---- station freenas is running FreeBSD 11.2 with iocage jail using VNET/VIMAGE network stack (though same behaviour is observed on warden jails and previous FreeBSD releases) It all started when I noticed that station loses connection to jail...
Back
Top