Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383
Rep:
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.