Jump to content

Re-Thinking my Server options


ichase

Recommended Posts

Greetings all,

As a few of you know, I built a server a couple of years ago. Currently it has 1 60 GB HDD with a basic Arch Linux install with no GUI and a 2nd 500 GB HDD with my file shares. Using SAMBA 3 to share it out to the network and everything works great. All computers in the house whether they are Windows, Linux, VMs etc have full read/write access to the file shares.

Now, here lies the conundrum. I am spending A LOT more time away from home and want to be able to access this server from OUTSIDE the network. I was thinking about options such as wiping the OS and going with a Linux server OS that would have tools to use to share internally as well as externally. I also understand I would have to set up port forwarding on my router to also be able to hit it.

 

I know a few of you have linux based servers set up and wan't to know what options you use and what do you think is the easiest option to go with.

 

Thanks as always,

 

Ian

Link to comment
Share on other sites

securitybreach

Well if you only use nix machines, then NFS is perfect for file sharing over the net or locally. https://wiki.archlinux.org/index.php/NFS

 

Just make sure you use port forwarding on your router to specify the machine and port used so you can access outside your home network.

 

Then you just connect to your external IP and your router forwards it to the specific machine, just like ssh.

Link to comment
Share on other sites

Well unfortunantly there is a Windows only computer being used in this house and they require access to the file shares (which she has now). But then here lies a question, I will be needing to access this server remotely from a laptop that is of course running Arch Linux. Can I keep the current SAMBA configuration so that all internal computers continue to have access but also have NFS installed so I can access the shares from my laptop remotely?

Have done some reading in the past and have heard great things about Ubuntu Server. Anyone had any experience configuring it?

Link to comment
Share on other sites

securitybreach

You can use both samba (locally) and nfs (outside) with no problems. BTW Ubuntu Server is just a base Ubuntu install:

Ubuntu has a server edition that uses the same APT repositories as the Ubuntu Desktop Edition. The differences between them are the absence of an X Window environment in a default installation of the server edition (although one can easily be installed including Unity, GNOME, KDE or XFCE) and the installation process...

http://en.wikipedia....perating_system)#Ubuntu_Server

 

There is no need to change distros just to run a server. Any distro can run a server.

Link to comment
Share on other sites

securitybreach

Why not? As long as they do not use the same ports, services rarely conflict with each other. I am running ssh, nfs, samba (for tablet) and an ftp server from this machine alone.

 

You can even use the same shares between nfs and samba at the same time.

  • Like 1
Link to comment
Share on other sites

I'll recommend to check out OpenMediaVault distro based on Debian; works flawlessly and it doesn't require hard read, really userfriendly check out their interface demo.omv-extras.org

Link to comment
Share on other sites

  • 1 month later...

Why not use OpenVPN so that you can have secure/encrypted access to your home network from anywhere in the world? One of the configurations in OpenVPN is bridge mode so that when you are away from home and connect with the vpn client you'll be connected directly to your home network's IP network address space.

  • Like 1
Link to comment
Share on other sites

Guest LilBambi

Well if I can run NFS in conjunction with SAMBA then there is my answer :thumbup:

 

Certainly safer than swiss cheese with a door SAMBA accessible out there. ;)

Link to comment
Share on other sites

securitybreach

you can? which version of each?

Yes, it is possible to share the same folder using both nfs and samba and the versions shouldn't matter. It has been a long while since I did this but you shouldn't have any issues.

Link to comment
Share on other sites

Yes, it is possible to share the same folder using both nfs and samba and the versions shouldn't matter. It has been a long while since I did this but you shouldn't have any issues.

i tried it about a year, 18 months ago and the results were not pleasant. they didn't seem to know about each others file access or locks. so if anyone has the settings ...
Link to comment
Share on other sites

Why not use OpenVPN so that you can have secure/encrypted access to your home network from anywhere in the world? One of the configurations in OpenVPN is bridge mode so that when you are away from home and connect with the vpn client you'll be connected directly to your home network's IP network address space.

After reading up on this, I am very much leaning in this direction. Now, if I could just find the time to wipe the main drive of the server and jump in. ;) Just want to be able to easily share the files with rw access for all users and easily access it from anywhere in the world. ;)

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...