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

Howto: quick setup of jail on ZFS using ezjail with PF NAT/

_martin

Aspiring Daemon

Thanks: 125
Messages: 674

#26
Hi ANx,

thanks. I should have a look on the naming convention, it may have changed as you said.

sysutils/ezjail comes from ports and was an effort of Dirk Engling to simplify the management of FreeBSD jails. The port itself is a wrapper script (shell script) around jail(8) command with some additional information stored under few directories.

In FreeBSD 11 few things changed along with the jail command. It now requires configuration in /etc/jail.conf which ezjail doesn't do. Hence manual creation is needed.

Running jails behave the same when it comes to their management, that's why you can continue using ezjail for administration.
 

hukadan

Active Member

Thanks: 151
Messages: 244

#27
Enable IP forwarding:
# sysctl net.inet.ip.forwarding=1
I just discorvered this nice HowTo. Since you use a loopback interface for the jail you do not need this setting IIRC.
 
Top