LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-14-2008, 10:11 PM   #1
dgermann
Member
 
Registered: Aug 2004
Distribution: Ubuntu 8.04.1 desk; Red Hat 9.0 server
Posts: 298

Rep: Reputation: 30
Question Best way to set up tunnel


Hi--

Please, what's the best way to accomplish this sort of a tunnel?

File server is RedHat 9.0 box running samba. Have both Windows and Ubuntu machines accessing the server files, running OOo, mostly. This is a production setting. Total of about 7 or 8 machines accessing the server at any one time.

Linux machines connect via cifs mounts.

One of my people wants to work from his home. I will send an Ubuntu box home with him.

Previously had an employee access from her home using pptp. We shut that connection down when she left our employ. pptpd is still on the server.

So my questions:

1. What are my choices for making the most robust connections? pptp openssh gstm something else?

2. If we go ssh, can the shares still be mounted via cifs?

3. If we go ssh (I have read that pptp is not very secure), will file locks work properly so that if remote person via ssh opens a file, a local person connecting via cifs will not be able to open and edit the same file simultaneously?

4. Is there a way to limit the connection coming in to just one machine, such as by restricting connection to a specific mac address?

5. Are there any sites which give the pluses and minuses and the options for such a network? I have been googling around and have not yet found anything.

Thanks!
 
Old 07-14-2008, 11:49 PM   #2
williebens
Member
 
Registered: Jan 2008
Posts: 88

Rep: Reputation: 16
Hello:

Do you know about openpvpn?
It establishes a tunnel to connect two private networks. However, I do not know about the cifs requirements.

Thanks.
--Willie
 
Old 07-15-2008, 09:48 PM   #3
dgermann
Member
 
Registered: Aug 2004
Distribution: Ubuntu 8.04.1 desk; Red Hat 9.0 server
Posts: 298

Original Poster
Rep: Reputation: 30
Question

Willie--

Many thanks. That looks like it might be a good option.

Wonder if there is a way to check this out while both computers are in one room?

Anyway, have you used openvpn? What can you tell me about it, if you have.

Many thanks, Willie!
 
Old 07-16-2008, 01:44 AM   #4
uncle_philip
Member
 
Registered: Apr 2008
Location: sydney
Distribution: centos5.2
Posts: 50

Rep: Reputation: 15
go to openvpn web-site and have a look, they have a quick guide to help you to start.
yes, you can test 2 computers side by side, under local network.
it is just like normal vpn, after login, client assigns a local ip-addr.
 
Old 07-16-2008, 09:55 PM   #5
dgermann
Member
 
Registered: Aug 2004
Distribution: Ubuntu 8.04.1 desk; Red Hat 9.0 server
Posts: 298

Original Poster
Rep: Reputation: 30
Exclamation

uncle_philip--

Thanks! That's what I was hoping for--it's easier to fix problems when you have both machines in front of you than if you have to talk someone through it!
 
  


Reply

Tags
pptp, ssh, tunnel, vnc


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
Anybody knows how to tunnel ip? sovietdoc Linux - Networking 0 06-03-2006 12:55 PM
lightweight tunnel eantoranz Linux - Networking 6 07-22-2005 05:20 PM
IPIP Tunnel rickthemick Linux - Networking 1 11-26-2004 03:08 AM
How do you set up a static IPv4-in-IPv6 tunnel? daveman Linux - Networking 1 11-16-2004 02:45 PM
IP-IP Tunnel rickthemick Linux - Networking 2 11-10-2004 10:49 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration