LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-27-2005, 03:23 PM   #1
Zumm
LQ Newbie
 
Registered: Apr 2005
Posts: 3

Rep: Reputation: 0
Samba through Internet


Hi, I want to get Samba running on my server so I'll be able to connect to certain directories on the server using Samba. This way I do not have to use an FTP-Client or tunnel, but can simply mount the network drive ("add network drive" for Windows).

Now is there any security issue with this? Is it not as safe as FTP is? I mean, FTP is not the safest way to connect either, but I want to be able to connect w/out any software.

Is there any other solution you guys can think of?
 
Old 04-27-2005, 03:33 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
having samba internet facing is never ever fun or advisable. Running it via an SSL tunnel makes it infinitely more secure of course. you can easily set up a tunnel via an SSH client like puTTY and then just map the drive as if it were running on your own windows system.
 
Old 04-27-2005, 03:38 PM   #3
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
Leaving yourself open on the net is a no no. Your best bet would be ssh, I know you said no software but without it that leaves you vulnerable to many attacks. If you decide to go with Samba then make sure your passwords are very strong and leave nothing unguarded.
 
Old 04-27-2005, 03:42 PM   #4
Zumm
LQ Newbie
 
Registered: Apr 2005
Posts: 3

Original Poster
Rep: Reputation: 0
But isn't Samba just as unsafe as FTP is? Unfortunately I do not know how either of them exactly work, from the technical side.

If I have to conclude that it is not recommended to run Samba on the Internet at all, I'll have to do it with ssh. I'm pretty new to the entire network-thing, but I am definately willing to learn ;-) I'll google, but do you happen to have any useful links about setting up the tunnel? Anything I have to do on the server-side?

And, is there is ANY possible alternative to Samba you can think of?
 
Old 04-27-2005, 04:54 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i think you're missing what we're saying.

have an ssh server facing the internet. use a client like puTTY to create an SSH tunnel from your system to the server. then use samba all you want, as it will encrypted through the ssh tunnel. all the config is done client side really, assuming that both ssh and samba are functioning correctly.

http://www.google.co.uk/search?q=puTTY+ssh+tunnel
 
Old 04-27-2005, 05:09 PM   #6
Zumm
LQ Newbie
 
Registered: Apr 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Ooh ok, now I know what you're trying to say. I thought the ssh-solution wouldn't use Samba.
Thanks guys.
 
  


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
SSH and Samba over internet FNC Linux - Networking 5 10-25-2007 08:49 AM
samba over internet time112852 Linux - Software 4 09-25-2005 03:28 PM
Will samba available cross internet ?nas ? my-unix-dream Linux - Newbie 1 04-21-2005 05:17 PM
samba rh9 internet Ian_Hawdon Linux - Software 1 10-16-2003 07:35 AM
Samba locks when Internet is down nottawiz Linux - Networking 5 04-15-2002 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:41 AM.

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