Hi just a quick question, when you talk about the public ip do you mean the public ip assigned to my router/whole network by my ISPYea ezjail man pages are very poorly documented. There are 3 things your jail has to have to be accessable from the public network. 1. a copy of the hosts /etc/resolv.conf 2, The ezjail-admin create must use the public ip address. 3. the /etc/rc.conf must contain the same ifconfig_xxx="DHCP" statements as used in the host to connect to the public network.
Then pkg_add -r will work. But ping is restricted from working inside of any jail by design. I use whois or dig commands to test for network access in place of ping.
Here are my versions of the ezjail man pages I wrote for my own use. You may find them helpfull.
or the IP of my machine as assigned by my router?