bastille-setup(8)

NAME
bastille setup - Auto-configure network, firewall, storage and more...

SYNOPSIS
bastille [-ax]
bastille [-ax] bridge|linux|loopback|netgraph|firewall|shared|storage|vnet

DESCRIPTION
The bastille sub-command will attempt to configure different options for your environment.

bridge
    Configure a bride interface for use with the '-B|--bridge' create option.

linux
    Configure linux compatability. This involves loading and persisting some necessary modules, as well as enabling Linux support with 'linux_enable=YES'.

loopback
    This will configure an interface to use as a loopback. This is for NAT jails.

netgraph
    Configure netgraph for your host. This requires loading and persisting certain 'netgraph_*' modules.

firewall
    Configure the 'pf' firewall for use with NAT jails, as well as the 'rdr' sub-command. See bastille-rdr(8).

shared
    Configure a 'shared' interface. This is essentially an interface where jails will 'share' with the host, while still having their own locally reachable IP.

storage
    Configure storage (ZFS or UFS).

vnet
    Configure your host to be able to use VNET jails.

-y, --yes
    Do not prompt. Assume always yes.

-x, --debug
    Enable debug mode.

The 'loopback' and 'shared' options will de-configure each other when they are configured. The INTERFACE these options configure are only ever used when the INTERFACE argument is not specified during jail creation.

EXAMPLES

Setup Bastille for the first time:
    bastille setup

Setup Linux support:
    bastille setup linux

Setup a bridge:
    bastille setup bridge

SEE ALSO
bastille.conf(5), bastille-bootstrap(8), bastille-clone(8), bastille-cmd(8), bastille-config(8), bastille-console(8), bastille-convert(8), bastille-cp(8), bastille-create(8), bastille-destroy(8), bastille-edit(8), bastille-etcupdate(8), bastille-export(8), bastille-htop(8), bastille-import(8), bastille-jcp(8), bastille-limits(8), bastille-list(8), bastille-migrate(8), bastille-monitor(8), bastille-mount(8), bastille-network(8), bastille-pkg(8), bastille-rcp(8), bastille-rdr(8), bastille-rename(8), bastille-restart(8), bastille-service(8), bastille-start(8), bastille-stop(8), bastille-sysrc(8), bastille-tags(8), bastille-template(8), bastille-top(8), bastille-umount(8), bastille-update(8), bastille-upgrade(8), bastille-verify(8), bastille-zfs(8)