ext_if = "em0" ext_ip = "192.168.1.17" jail1_ip = "192.168.2.1" mgba_buildbot_ip = "192.168.2.2" jail_net = "192.168.2.0/24" jail1_port = "25565" mgba_buildbot_http_port = "8010" mgba_buildbot_pb_port = "9989" scrub in all nat on $ext_if from lo1:network to any -> ($ext_if) rdr pass on $ext_if proto tcp from any to $ext_ip port $jail1_port -> $jail1_ip rdr pass on lo0 proto tcp from any to $ext_ip port $jail1_port -> $jail1_ip rdr pass on $ext_if proto tcp from any to $ext_ip port $mgba_buildbot_http_port -> $mgba_buildbot_ip rdr pass on $ext_if proto tcp from any to $ext_ip port $mgba_buildbot_pb_port -> $mgba_buildbot_ip