ext_if="vtnet0" int_if="lo0" table const { 192.168.0.0/24 } # IP mascarade nat on $ext_if inet from ($int_if) to ! -> ($ext_if) # redirect rdr pass on $ext_if proto tcp from any to ($ext_if) port 2210 -> 192.168.0.10 port 22 rdr pass on $ext_if proto tcp from any to ($ext_if) port 2211 -> 192.168.0.11 port 22 # ...(中略)... rdr pass on $ext_if proto tcp from any to ($ext_if) port 2219 -> 192.168.0.19 port 22 # www rdr pass on $ext_if proto tcp from any to ($ext_if) port 80 -> 192.168.0.17 port 80 # packet filter pass in quick all pass out quick all
/enc/jail/ |-- FBSD12_DIST | |-- base.txz | `-- kernel.txz |-- JAIL_FAILS | |-- authorized_keys | |-- ay_gihub_key | |-- create_user.sh | |-- dot.bashrc | |-- dot.emacs | |-- dot.gitconfig | |-- dot.profile | |-- dot.screenrc | |-- sshd_config | |-- sudoers | `-- user__ssh_config |-- create_container.sh `-- remove_container.sh