LinuxQuestions.org
Help answer threads with 0 replies.
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 01-12-2024, 08:57 AM   #16
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 779

Rep: Reputation: 246Reputation: 246Reputation: 246

Quote:
Originally Posted by rkelsen View Post
Posted from Windows.
It's Librewolf 121.0-1. It does the "pretend I'm Windows" thing to resist finger printing or some such.

Yes, I would feel confident running Samba over the internet for a period of time and it is possible. There's a big difference from today's Samba and Windows networking from the Windows 9x era. Just make sure your passwords are set correctly, the "guest" user maps correctly, and your shares are pointing to a place you don't mind people accessing. Watch the logs, and there should be no problem with testing it out over an afternoon. For a more permanent solution I'd use either sftp or (pro)ftp but OP asked specifically about Samba.

A section of smb.conf might be like
Code:
[shared]
        comment = Windows applications
        read only = yes
        path = /srv/ftp/pub/operating-systems/windows
        guest ok = yes
        browseable = yes
        valid users = @users
 
Old 01-12-2024, 06:19 PM   #17
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,453
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by jayjwa View Post
Yes, I would feel confident running Samba over the internet for a period of time and it is possible.
Even if you were to try to do this you would probably find that your ISP blocks the traffic, because most of them block SMB by default.

The best way to access an SMB share over the internet is through a VPN. But now we're getting quite deep into a rabbit hole which OP didn't seem to want, and setting this up is nowhere near as easy as using a cloud-based service as suggested (more than once) above.
 
Old 01-12-2024, 06:37 PM   #18
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,312
Blog Entries: 3

Rep: Reputation: 3722Reputation: 3722Reputation: 3722Reputation: 3722Reputation: 3722Reputation: 3722Reputation: 3722Reputation: 3722Reputation: 3722Reputation: 3722Reputation: 3722
Quote:
Originally Posted by Jason.nix View Post
I don't want this to be permanent. For a limited time only. I want to give the other party an address like MY_IP/Directory/File.zip and he\she can download the file. It does the same thing as a web server and [S]FTP server do, but without the web server and [S]FTP server.
What kind of time limits are you talking about, for the files or the server?

It still sounds like what you need is a simple web server with uploads via an SFTP server. The web server can be set up to do basic authentication and to use TLS for privacy. Or do you need for random people to be able to upload as well as download?
 
Old 01-12-2024, 11:59 PM   #19
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,372

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
For an asynchronous file transfer too large for an email attachment, I have used services such as SendGB. Free for up to 5GB with the content automatically deleted after a period of time.

PS - I, for one, do not have or ever have had a gmail address.

Last edited by allend; 01-13-2024 at 12:00 AM.
 
1 members found this post helpful.
Old 01-15-2024, 12:23 AM   #20
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Quote:
Originally Posted by allend View Post
For an asynchronous file transfer too large for an email attachment, I have used services such as SendGB. Free for up to 5GB with the content automatically deleted after a period of time.

PS - I, for one, do not have or ever have had a gmail address.
Never knew about SendGB, thanks for sharing.
 
Old 01-16-2024, 01:21 AM   #21
Jason.nix
Member
 
Registered: Feb 2023
Posts: 561

Original Poster
Rep: Reputation: 10
Hello,
Thank you so much for all replies.
I found that this is not possible directly and I need a web or FTP server.
 
Old 01-16-2024, 10:53 AM   #22
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,638

Rep: Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697Reputation: 2697
Quote:
Originally Posted by Jason.nix View Post
Hello,
Thank you so much for all replies.
I found that this is not possible directly and I need a web or FTP server.
Make no mistake it IS possible. I worked for companies that did it. IT was even common. The thing is that we learned was that it was also really, REALLY stupid! All of those machines got powned, compromised, zombied, hacked, and often parts of the networks behind them. The protocol is insecure in nature, and even when well secured can act as a channel for detecting server vulnerabilities and gaining a network access channel that bypasses other security.

Even if you are very VERY careful and lucky and it never results in a successful intrusion DIRECTLY, it attracts the attention of criminal scanners that HERE is something worth attacking and someone STUPID enough to advertise it. At that point the worms and script-kiddies start crawling out of the woodwork and tings get "messy" and your ISP complains. That is not where you want to be.
 
  


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
Yum Install samba "No package samba available" "No package samba-client available." young redhat Linux - Software 8 04-16-2019 08:05 PM
sharing internet but samba doesnt work, turn filewall off samba works but net isnt Jungle_King Linux - Networking 2 05-08-2009 07:00 AM
samba does not create "samba/netlogon" and "samba/profiles" mianmajidali Linux - Server 0 04-27-2008 05:07 AM
Samba Samba Samba Bear Linux - Networking 9 01-30-2003 07:30 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

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

All times are GMT -5. The time now is 05:57 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