Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Linux server running RHEL 6. I have two Windows servers. All servers are connected directly to the web with an external IP, they are not in a local lan.

What I would like to achieve is to setup the Linux server so that it offers a single share (the whole partition) that can be mounted as network drive within Windows. I don't want to use any 3rd party software to access the linux server because I want to use the linux server as a backup for Bare Metal Restore. In order to do so, I need to be able to access the linux partition from within the Windows Recovery Enviroment where I cannot install any 3rd party software.

The linux server should only be accessible from given IP addresses (e.g. the 2 windows servers).

Does anyone know if the setup I would like to have is possible?

share|improve this question
    
How about sharing out via iSCSI? –  Zoredache Oct 22 '13 at 20:05
    
See also serverfault.com/questions/193101/… –  Chris S Oct 22 '13 at 20:08
add comment

2 Answers

Samba and iptables plus a kind of VPN which would make secure connection for this network filesystem (cifs from Samba). For VPN check IPSEC implementation of strongswan.

share|improve this answer
    
Thanks Jiri, but I can't use VPN either from recovery environment –  CptEO Oct 22 '13 at 20:04
2  
Samba + IPTables can be resonably secure. –  Chris S Oct 22 '13 at 20:06
    
Plus you can simply disable the Samba share or samba completely until the need arises to map the drive in Windows PE. But I hope the connection is fast and the bare metal restore isn't crazy huge. How the OP plans on keeping the image up to date is interesting as well. –  TheCleaner Oct 22 '13 at 21:04
add comment

Apache + Mod_DAV => Map Network Drive in Windows

share|improve this answer
1  
+ iptables. webdav is prone to being hacked. –  Matt Oct 22 '13 at 20:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.