jails

  1. N

    Postfix multi-domain mail server - jails or virtual domains?

    Hello folks! I am just getting started to setup a new mail server running FreeBSD 11. I need to setup 4 domains on this server. I am using Postfix as the MTA, Dovecot for Imap/Pop, Amavisd, Spamassassin, Postgrey & Clamav for filtering messages. Initially, all the domains will share a common...
  2. mrpsycho

    ezjail at start can't find indexinfo distr

    Hello, tried to find similar problem... but it looks like nobody got it. so, I'm trying to make different flavours with installing software from ports. and for example, i can't install ports-mgmt/portdowngrade cause of: Making all in m4 Making all in tests ===> Staging for...
  3. W

    Solved What level of devfs_ruleset is more secure?

    Hey guys, I am working on my git server, and SSH its claiming about have no access to /dev/tty inside of jail. After read about this issue, I have found is need setup on /etc/rc.conf to start it using: devfs_load_rulesets="YES" And on my jail.conf I need use devfs_ruleset, the level 3 and 5...
  4. Rand0m

    Installing packages in Jails is very slow and causing timeout

    Hi All, I am still quite new to jails and still getting my head around. I am using ezjail and created few jails. Everything is fine apart from pkg install which is very flow and quite often times-out before it finishes downloading all the dependencies. roceed with this action? [y/N]: y...
  5. puppydog

    Does each jail need its own loopback or can they all share one?

    I thought this would be clearly spelled out somewhere but if it is I can't find it. Under the ezjail section in the handbook it includes a couple parts about creating an extra loopback for a jail. First you create it with cloned_interfaces="lo1" in /etc/rc.conf, and then in the example jail it...
  6. S

    migrate FreeBSD jails to linux

    we are running some jails in FreeBSD 10 and the decision has been made to decommission the FreeBSD server and migrate all the jails to Linux environment Red Hat 6 or 7. Is there a straight forward way of migrating BSD jails to linux -- as containers that can be run via docker or any other way...
  7. korund

    Routing between jails and physical interfaces

    I'm trying to get the following scheme up and running: What would be a good read to start except of jail man page?
  8. T

    Networking Structure for VM Host

    Hello, I'm currently running a server based on FreeBSD 10.3. I'm using jails to separate all the running services. Since I only have one public IPv4 address, I use PF and a nginx-proxy to redirect to the specific jails inside the NAT. My plan is to use 11.0 and it's enhanced bhyve features to...
  9. F

    Solved Best way to adress a jail

    Hello, I'm currently my FreeBSD machine and I wondering what'S best option to adress a jail with IP. my ifconfig re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>...
  10. l33tname

    Solved Prosody s2s connection-timeout in jail

    I installed prosody in a jail redirect the traffic to it with pf. With this config: rdr on $EXT proto { tcp, udp } from any to any port $XMPP_PORTS -> 10.0.0.11 And for unknown reasons at least for me the s2s part just fails with error messages like this Sep 27 20:39:21 s2sin804074c40 info...
  11. priyadarshan

    Jails vs bhyve

    Since FreeBSD 11 is here, I am tempted to simplify our server setup, and use Bhyve also for all jail needs. I would not mind exchanging a small percentage of available CPU for more simplicity, but does it make sense to standardise on Bhyve vs Jails, in order to simplify setup and workflow? In...
  12. S

    Owncloud in FreeBSD Jail

    I'm considering setting up Owncloud on my FreeBSD 10.3 server in a jail, but I'm wondering about being able to connect to files outside the jail. I have a pretty sizeable file collection (photos, docs, etc.) on the server now (not jailed) that I will want to connect to from Owncloud inside the...
  13. G

    Solved PF Fails to Load Ruleset with Jails (lo1 interface)

    This post is for anyone who may be using a jail, and after you set the jail to run at startup, PF rules are not loading (on the host machine). The odd thing that made me scratch my head is that you can manually start it and everything works; something is uniquely happening at startup that is...
  14. ikanobori

    IPFW IPFW/NAT and Jails having many out-of-order and reassembled TCP packets

    Hi, Traffic coming out of my jails seems to be very slow so I ran a tcpdump on my external interface to see what is going on and I get a whole slew of TCP Out of Order and TCP Duplicate ACK in Wireshark. I am talking pages full when any traffic is going out of the jails. Traffic going into the...
  15. scrappywan

    FreeBSD VPS Jailed Web Servers Network Isolation

    I have a VPS on Digitalocean which I used mfsbsd to reinstall FreeBSD with ZFS/zroot with PF as my firewall. My plan with this VPS is to run wordpress, a static site and owncloud each in their own jails. Currently, I use nginx on the host machine running as a reverse proxy, intercepting https...
  16. Phishfry

    Software usage for a jail?

    I am wondering about using sysutils/webmin in a jail as I would like to use the best security practices available. My question is the very nature of Webmin being a server monitoring service with a webgui, would all the features work? My question is how could you "sandbox' webmin in a jail and...
  17. N

    Best practise for handling ports tree with iocage managed basejails

    Hi, What's the best practise to handle the prots tree with iocage managed basejails? Currently I am manually nullfs mounting the host systems /usr/ports everytime I need it in each jail, but as the number of jails are growing this feels more and more cumbersome. Please advice! Thanks in...
  18. S

    Cannot cleanly stop jails after using graphical applications

    Starting and stopping the jail works fine when I stick to console apps. I can also successfully launch and use graphical jailed apps on the host display using e.g., jailme 1 firefox, but I cannot cleanly stop the jail after closing jailed graphical apps from my host X display. Here is my...
  19. Farhan Khan

    Solved Jail NAT vs Bridge

    Hi all, I want to create a jail with a publicly routable IPv6 address and a 192.168.0.0/16 IPv4 address. I also do not want the have the interface shared with the base OS, such that listening on port 80 on the base also listens to port 80 on the jails. I do not see where that is in any...
  20. fullauto2012

    Solved Help me understand Jail

    Please accept my apologies ahead of time as I could not find an appropriate room for questions on jails. I have a FreeBSD box (10.1) with two jails on them (also 10.1) that I am using for testing and understanding purposes before I implement something more permanent. I have them both in...
Back
Top