Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upsyntax error in jail.conf #53
Comments
This comment has been minimized.
This comment has been minimized.
Hi, this commonly happens by incomplete network configuration in either the host and/or the bastille.conf file if missing parameters. A simple solution for basic/shared IP jails, as of later bastille updates it added the ability to specify any system available network interface during jail creation, by explicitly specifying it after the IP address e.g:
where "interface" can be either an lo1, em0 etc., if the network interface pass validation , the created jail will use this NIC for simple/shared IP based jails unless vnet configured, but be aware that bastille does not care is this external NIC is active or not. Second option, under bastille.conf file, setting an external NIC e.g: bastille_jail_external="em0" will tell bastille to always use this NIC when creating jails unless override by the first option above. Third option is for a more complex/specific network scenarios such vnet, ipv6, firewall etc., it requires for more advanced manual work by the user in the host, the jail/jail.conf etc. Regards |
This comment has been minimized.
This comment has been minimized.
@JRGTH thank you. I selected the Your very good explanation could be copy/pasted into the README, IMO. :) |
This comment has been minimized.
This comment has been minimized.
Hi, thanks for confirming that the second option did worked for you. Currently the Bastille community is working on some features and improvements for the framework, but hopefully the documentation will get some updates as well. Regards |
This comment has been minimized.
This comment has been minimized.
The fix for this has been merged. It will appear in the next release (planned 0.5.20191125). Closing this as fixed. Thank you for taking the time to submit the issue. |
Changing that line to
solves the issue.