pf
Table of contents
Enable NAT for jails
If you have a host system with only a few IPs and you want/need to create more jails, this is how you give them access to internet:if_ext = "re0" ip_main = "88.8.8.88" ip_jail = "10.0.0.11" lan_subnet = "10.0.0.0/24" nat on $if_ext from $ip_jail to !$lan_subnet -> $ip_main
Links
http://www.openbsd.org/faq/pf/pools.htmlhttp://stevenfettig.com/mythoughts/archives/000173.php
