Cloudflare 反向代理的 samba ,有人知道要怎麼開啟使用?

我又不會開啟 samba 協定,有人知道怎麼用?

Cloudfalre 應該是有 samba,還是我理解錯誤,SMB 是指別的東西?


Cloudflare 反向代理的 samba ,有人知道要怎麼開啟使用?
2023-02-17 11:22 發佈
文章關鍵字 Cloudflare Samba
https://www.reddit.com/r/CloudFlare/comments/y4eqvs/comment/isej297/?utm_source=share&utm_medium=web2x&context=3

==
https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/use_cases/smb/#connect-to-smb-server-with-cloudflared-access

二種解決方式
1. Connect to SMB server with WARP to Tunnel ( 使用 WARP client)

Windows :
Open File Explorer and right-click Network > Map Network Drive.
For Folder, enter \\\sambashare. (\\家裡router給的虛擬IP\samba共享名稱 ?) 你是在社區網路之後, 我懷疑這能通?
Select Connect using different credentials.
Select Finish.
Sign in with the username and password created while setting up the server.
2. Connect to SMB server with cloudflared access (不使用 WARP的話, client端則必須也使用 cloudflared 程序)

Connect as a user
Install cloudflared on the client machine.
  1. Run the following command to open an SMB listening port. You can specify any available port on the client machine. cloudflared access tcp --hostname smb.example.com --url localhost:8445
  2. This command can be wrapped as a desktop shortcut so that end users do not need to use the command line.
  3. Open your SMB client and configure the client to point to smb://localhost:8445/sambashare. Do not input the hostname.
  4. Sign in with the username and password created while setting up the server.
Windows-specific requirements (Windows 主機還必須以下動作)
If you are using a Windows machine and cannot specify the port for SMB, you might need to disable the local server. The local server on a client machine uses the same default port 445 for CIFS/SMB. By listening on that port, the local server can block the cloudflare access connection.

The Windows Server service supports share actions over a network like file, print, and named-pipe. Disabling this service can cause those actions to fail to start.
To disable the local server on a Windows machine:

1. Select Win+R to open the Run window.
2. Type services.msc and select Enter.
3. Locate the local server process, likely called Server.
4. Stop the service and set Startup type to Disabled.
5. Repeat steps 3 and 4 for TCP/IP NetBIOS Helper.





==

覺得你還是用 ZeroTier 解決 SMB 吧

Cloudflare 主要是解決 Web Applications,
maya95 wrote:
覺得你還是用 ZeroTier 解決 SMB 吧
Cloudflare 主要是解決 Web Applications,


我在想,請社區網業者開個 port 給我,會不會比較簡單一點?
maya95

網路攻擊機器人太多, 這不安全吧. 不肯試試 ZeroTier 的理由?

2023-02-20 11:44
我自己根據 Cloudflare ZeroTrust Tunnel 前身 Argo Tunnel 輕鬆建立了臨時 tunnel (沒有帳號)
https://cyberhost.uk/cloudflare-argo-tunnel/

很容易就連上 double NAT 之後 (DSL router + VMWARE NAT) 的 Windows 機器上的 HFS http file server



但根據 Cloudflare 的說明, 我用 LMDE5 Mint 當 client (已裝cloudflared, SMB client + server) 怎麽樣都無法用 smb://localhost:8445/sambashare 方式連上 Windows 共享文件夾. (當然 sambashare 已換成真正共享文件夾的名字)



==

利用 VPN 及 SMB 傳輸及修改檔案是非常沒效率的 (受限雙方上傳速度以及加密, 網路的不穩定). 能遙控遠端在當地修改是最好的方式

剛剛想起 Guacamole, 約半年到一年前瞄到這東西.

何不試試 Cloudflare + Apache Guacamole ? 檔案不用跑來跑去, 留在家中? 我自己還沒試過

https://guacamole.apache.org/ A Web Application, 剛好是 Cloudflare 可以解決的

小小的 LATENCY 就對 SMB 的區域網路傳輸效率影響巨大 (頻寬未變)



遠端遙控在當地存取系改資料, 你的 HDD / SSD / NVME m.2

有多快就有多快 只是顯示慢而已.
maya95 wrote:
小小的 LATENCY...(恕刪)


我找到簡單方法了!

用 filebrowser docker 就可以了 ......

我整理一下,另外發個文出來 ....
內文搜尋
X
評分
評分
複製連結
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?