Trying to create a Jail but cannot

Status
Not open for further replies.

Epicness35

Dabbler
Joined
May 15, 2016
Messages
34
Hi,
I have wanted to create a jail in FreeNAS 9.10. But when I go and create a new jail, I get an error that says Unable to find a template!

What do I do?
 

Epicness35

Dabbler
Joined
May 15, 2016
Messages
34
Wait, my server does not have a IPv4 or IPv6 default gateway set, or any of the Nameservers. What do I put in these fields?
 

Epicness35

Dabbler
Joined
May 15, 2016
Messages
34
In the documentation, it says that is it better if the server does not have a default gateway because a it will be harder for a hacker to communicate with the server.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Have you configured your network settings in the configuration page of the jails tab?
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
Wait, my server does not have a IPv4 or IPv6 default gateway set, or any of the Nameservers. What do I put in these fields?
You would put in your IPv4 gateway and nameservers for your environment...

In the documentation, it says that is it better if the server does not have a default gateway because a it will be harder for a hacker to communicate with the server.
You should have kept reading:
Note

in many cases, a FreeNAS® configuration does not include default gateway information as a way to make it more difficult for a remote attacker to communicate with the server. While this is a reasonable precaution, such a configuration does not restrict inbound traffic from sources within the local network. However, omitting a default gateway will prevent the FreeNAS® system from communicating with DNS servers, time servers, and mail servers that are located outside of the local network. In this case, it is recommended to add Static Routes in order to reach external DNS, NTP, and mail servers which are configured with static IP addresses. If you add a gateway to the Internet, make sure that the FreeNAS® system is protected by a properly configured firewall.
 

Epicness35

Dabbler
Joined
May 15, 2016
Messages
34
How would I figure out the Ipv4 gateway and nameservers? Are they addresses that are available in my local network?
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
You might want to change your screen name before it comes back to haunt you........
 

Epicness35

Dabbler
Joined
May 15, 2016
Messages
34
Also, I want to install a standard jail template. For the URl and Mtree, what do I put in? The link to the files on the internet or on my computer? And what do I put in os?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Also, I want to install a standard jail template.
Crawl before you walk, walk before you run. If you don't understand basic TCP/IP network principles (what is a default gateway, what is the effect of not having one configured, what is the default gateway on my network, etc.), you have no business trying to flash alternate firmware onto your router, trying to set up a VPN, trying to upload a custom jail template (you don't have to do anything at all for a standard one), etc. Get the basics down first, then worry about more advanced usage.
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
NAS = Network Attached Storage

The basis for the entire project is NETWORK.

Understanding network basics and fundamentals is key.

I would suggest getting familiar with the basics of networking before going any further.
 

Epicness35

Dabbler
Joined
May 15, 2016
Messages
34
I'm sorry if I am asking too many questions, but I think that the problem is that I am not selecting a template, but standard is not there, only VirtualBox. I am running FreeNAS 9.10. I heard that other templates were removed. What do I do in this case?
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
I'm sorry if I am asking too many questions, but I think that the problem is that I am not selecting a template, but standard is not there, only VirtualBox. I am running FreeNAS 9.10. I heard that other templates were removed. What do I do in this case?
You don't need any other templates there....

You need to fix your networking in order for the system to be able to download the jail template. If the system can't get to the internet it can't download the things it needs.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I think that the problem is that I am not selecting a template, but standard is not there, only VirtualBox.
You think incorrectly. The options are "-----" and "VirtualBox-4.3.12". "-----" is the standard template. No, I don't know why they didn't just call it "standard", but it is.
 
Status
Not open for further replies.
Top