Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-14-2008, 11:11 PM   #1
Registered: Aug 2004
Distribution: Ubuntu 16.04 lts desk; Ubuntu 14.04 server
Posts: 346

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


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.

Old 07-15-2008, 12:49 AM   #2
Registered: Jan 2008
Posts: 88

Rep: Reputation: 16

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

Old 07-15-2008, 10:48 PM   #3
Registered: Aug 2004
Distribution: Ubuntu 16.04 lts desk; Ubuntu 14.04 server
Posts: 346

Original Poster
Rep: Reputation: 31


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, 02:44 AM   #4
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, 10:55 PM   #5
Registered: Aug 2004
Distribution: Ubuntu 16.04 lts desk; Ubuntu 14.04 server
Posts: 346

Original Poster
Rep: Reputation: 31


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!


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 01:55 PM
lightweight tunnel eantoranz Linux - Networking 6 07-22-2005 06:20 PM
IPIP Tunnel rickthemick Linux - Networking 1 11-26-2004 04:08 AM
How do you set up a static IPv4-in-IPv6 tunnel? daveman Linux - Networking 1 11-16-2004 03:45 PM
IP-IP Tunnel rickthemick Linux - Networking 2 11-10-2004 11:49 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:38 AM.

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