Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-02-2010, 02:05 PM   #1
LQ Newbie
Registered: Oct 2010
Posts: 2

Rep: Reputation: 0
Question Network Sharing via VPN

Trying to find out how to share files between two computers on my Home Network.Tried VPN but not sure how to configure. I am using Linux Mint 9.
Old 10-03-2010, 07:15 AM   #2
Senior Member
Registered: Jul 2007
Distribution: Ubuntu 10.10, Slackware 64-current
Posts: 2,124

Rep: Reputation: 779Reputation: 779Reputation: 779Reputation: 779Reputation: 779Reputation: 779Reputation: 779
You are on the right track, but need a different tool. A VPN allows a remote computer, one that is on a different network, establish a virtual tunnel to your local network. In doing so, you create a virtual network adapter on the remote host and it gets assigned a local IP address. Routing to and from the local network is then performed via this virtual adapter. For this reason, VPN only works with remote locations, though, you can still establish a VPN connection when you are local, it just doesn't do much.

There are two, perhaps three, methods that I know of to accomplish what you are after. The first two are to either use Samba or NFS. Samba emulates Windows' networking functions and allows Windows based computers to share files with your Linux system. To configure basic sharing is pretty simple and straight forward, yet it also supports exceedingly complex and secure networks too. NFS is a native Linux approach for file sharing. I haven't read up on it much and can't provide a lot of information on it, sorry.

I mentioned a possibly 3rd approach. Depending on the capabilities of Mint, you may be able to simply select the properties of the directory or file you wish to share and set it as shared. This may use NFS in the background. I suggest this because it is exceedingly simple and is worth trying first.

In any of the above approaches, you will need and want to consider any security implications. In sharing your folders over a network, you will be opening ports to service. Unless you want this ports to be accessible to the world, you will need to ensure that your upstream router blocks them or configure your firewall to only allow connections from your local hosts.
1 members found this post helpful.
Old 10-04-2010, 06:54 PM   #3
LQ Newbie
Registered: Oct 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you for your input. I tried the 3rd approach...which installed a 'Needed Application' but I am still unable to share Files.

Last edited by Edster55m; 12-02-2010 at 08:16 PM.
Old 10-05-2010, 02:09 AM   #4
LQ Newbie
Registered: Sep 2010
Posts: 3

Rep: Reputation: 0
Try winscp if you simply want to move file between windows & linux.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
File Sharing over VPN centos Linux - Newbie 3 11-08-2008 07:32 PM
sharing VPN access with lan + after vpn connected unable to ping lan/public ip xxx_anuj_xxx Linux - Networking 1 03-14-2008 03:50 AM
Sharing VPN connection on windows for Ubuntu DrInferno General 1 07-07-2007 07:15 AM
Looking for best solution on sharing a vpn tunnel linuxphilos Linux - Networking 1 02-28-2007 10:18 PM
how to get primary logon network, Access control,File sharing & printer sharing info dileepkk Linux - Networking 2 07-06-2004 07:54 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration