Hi there,
I am trying to make my "Gemini Capsule" working again, however my former documentation is not "working" and even following the official documentation is working out.
Basically I can't get the Bastille jail communicating with the public network, I followed the basic procedure available here: https://bastillebsd.org/getting-started/
This is the procedure to clone the loopback interface:
This is the pf.conf setup:
Any help is really appreciated, thanks! ?
I am trying to make my "Gemini Capsule" working again, however my former documentation is not "working" and even following the official documentation is working out.
Code:
freebsd-version
13.2-RELEASE-p1
Basically I can't get the Bastille jail communicating with the public network, I followed the basic procedure available here: https://bastillebsd.org/getting-started/
This is the procedure to clone the loopback interface:
Code:
sysrc cloned_interfaces+=lo1
sysrc ifconfig_lo1_name="bastille0"
service netif cloneup
This is the pf.conf setup:
Code:
ext_if="vtnet0"
set block-policy return
scrub in on $ext_if all fragment reassemble
set skip on lo
table <jails> persist
nat on $ext_if from <jails> to any -> ($ext_if:0)
rdr-anchor "rdr/*"
block in all
pass out quick keep state
antispoof for $ext_if inet
pass in inet proto tcp from any to any port ssh flags S/SA keep state (max-src-conn 10, max-src-conn-rate 20/3600, overload <bruteforce> flush global)