Is it possible to CIFS export a directory from a jail

Status
Not open for further replies.

n3mmr

Explorer
Joined
Jan 7, 2015
Messages
82
I would like to share part of the internal storage of a standard jail. Read-Only is OK.

The reason is that it's a tftp server for delivering FW to switches, and the others involved simply do not understand using CLI, or Unix-like things or a lot of other things. And refuse to learn.

I'd like to share the tftpboot directory over CIFS, readonly, so these lazies can cut&paste the file names rather than keep notes.
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
The correct way to do this is create a dataset and add storage to the jail, put your tftpboot files in the dataset, then map the storage to the tftpboot location in the jail (it's how I used to do it). At the same time, you can create a SMB share to the dataset.
 

n3mmr

Explorer
Joined
Jan 7, 2015
Messages
82
An added note: I cannot share from the main environment (In Solaris I would have said The Global Zone) since the jail in question has a private (??) NIC and needs to share to a network that cannot access the "Global Zone".

The entire machine is connected to 192.168.1.0, and the TFTP jail is connected to 10.0.0.0/16
 

n3mmr

Explorer
Joined
Jan 7, 2015
Messages
82
192.168.1.0 is behind a NAT router (cisco RV180), 10.0.0.0/16 is outside that same router-
 
Status
Not open for further replies.
Top