LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-02-2010, 01:05 PM   #1
Edster55m
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, 06:15 AM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
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, 05:54 PM   #3
Edster55m
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 07:16 PM.
 
Old 10-05-2010, 01:09 AM   #4
solutionin
LQ Newbie
 
Registered: Sep 2010
Posts: 3

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


Reply



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 06: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 02:50 AM
Sharing VPN connection on windows for Ubuntu DrInferno General 1 07-07-2007 06:15 AM
Looking for best solution on sharing a vpn tunnel linuxphilos Linux - Networking 1 02-28-2007 09:18 PM
how to get primary logon network, Access control,File sharing & printer sharing info dileepkk Linux - Networking 2 07-06-2004 06:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:20 PM.

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