Hello,
I have the following /etc/pf.conf at the moment to work with sysutils/ezjail
My question is when I create my second jail, do I need to add it to my etc/pf.conf file? as
Do I even need
Thank you
I have the following /etc/pf.conf at the moment to work with sysutils/ezjail
Code:
ext_if="xn0"
jail_if="lo1"
IP_PUB="238.96.3.4"
IP_JAIL_WWW="10.8.20.10"
NET_JAIL="10.8.20.0/24"
PORT_WWW="{80,443}"
scrub in all
# nat all jail traffic
nat pass on $ext_if from $NET_JAIL to any -> $IP_PUB
# WWW
rdr pass on $ext_if proto tcp from any to $IP_PUB port $PORT_WWW -> $IP_JAIL_WWW
# demo only, passing all traffic
pass out
pass in
IP_JAIL_WWW2="10.8.20.11"?Do I even need
IP_JAIL_WWW="10.8.20.10" ?Thank you