Thanks Depasseg,
You asked "Are you trying to access something installed in the jail, which has a different IP address and maybe that is why you don't get a response from the port scan?"
I apologize, I thought your question was more about "not getting a response from port scan" and not about Jails. I was getting a response from port scan (see nmap scan #3) and I was not thorough enough.
Yes, I would like to access a jail from the WAN but there seems to be no way to do this.
Please , Please ,Please follow this through:
Lets say you have an Owncloud server that is NOT on a FreeNAS Box. It will load on many platforms.
That server will let you access the OwnCloud services by the only port that OwnCloud will use. Port 80
You can setup (at GoDaddy) a domain called Depasseg.com and send it's DNS to your OwnCloud server at 123.456.789.123.
Then, you can go to any browser in the world and type
http://depasseg.com (or the IP 123.456.789.123) and BOOM! there is your OwnCloud Login!
Now on a FreeNAS box:
Lets say you have a FreeNAS GUI on a local IP at port 80 (for security reasons you don't want a WAN IP here)
Lets say you have a Router on your WAN IP 123.456.789.1
Your router will respond at 123.456.789.1:8080 and you will see the Router GUI
If you type
http://depasseg.com your router will not respond (because you set it at port 8080) Of course, if you set the routers listening port to 80, typing
www.depasseg.com would get the router's GUI
If you type
www.depasseg.com (or the IP of the DNS 123.456.789.123) the Owncloud server will not respond because the NIC added by "Network-->Interfaces--> Add Interface" will not listen on port 80. So, No OwnCloud GUI is shown.
Unfortunately, There is no way to specify a port in a DNS record. DNS Records always assume port 80. So if you wish to reach something at port 80 on your FreeNAS box, the NIC you have assigned the IP to must listen on port 80
It seems that any NIC assigned by "Network --> Interfaces --> Add Interface will listen on ports 21, 22, 111, 139, 643, 796, 873 and 949 by default but I do not know how to make it listen on port 80. Or, cause the OwnCloud Jail to affect this "listening".
If the Interface would listen on port 80, you could type "
www.depasseg.com" and your FreeNAS Owncloud login would appear.
I realize I asked the original question (Post #1) incorrectly now. I should have said "listen on port" instead of "open port" but the issue is still the same.
Long way around the barn Depasseg, but the question is the same as it always has been: How do I get a NIC added by "Network --> Interfaces --> Add Interface" to
listen on port 80?
If you (or others) just don't know the answer or I am going about this wrong (EG: I need to solve this in a Jail setup), please do not ridicule me. Please point me in the right direction or send me to someone that may help.
Many thanks,
Leroy