要在家外連線回家存取資料 要怎麼在安全的情況下進行

要在家外連線回家存取資料 要怎麼在安全的情況下進行

家裡面有各種服務
NAS(正版群暉) / BitTorrent / Proxmox VE / Proxmox Backup Server / Adguard Home 安全 DNS / iKuai 軟路由 / 智慧家庭相關設備 / 家中監控及錄影
時不時,會有連回去進行管理或是查詢的需求

限制條件
1.對外只有1個Port
2.對外的Port沒有80/443
3.內部的服務有http / https
4.非Windows服務,沒有RDP
5.現有已有Docker服務 Read more

3分快整啟動 Proxmox VE VM 中的VNC

3分快整啟動 Proxmox VE VM 中的VNC

因為部份家中的服務是使用Web-UI做管理
所以純文字CLI的Terminal無法滿足所有的需求

我試過使用Docker啟用ksam Firefox 和 Chrome
ksam服務提供的方式的是透過VNC去調用Firefox 和 Chrome
但是透過tunnel時會異常

所以考慮過 VM + RDP 或是 VM+VNC

於是乎,我測了多套輕量化的Linux Redistributions
作業系統盡量輕量化,支援Firfox或是Chromium
且Base Ubuntu 或是 Debian

最後找到一個版本,我在上面加上Remmina + telegram
完成管理界面的整合

Read more

[chatGPT 測試]寫一隻python使用selenium 4.x版 搭配 chromdrivermanager 操作Chrome 打開 Gmail網站 輸入帳號密碼 進行登入

送出的需求
寫一隻python使用selenium 4.x版 搭配 chromdrivermanager 操作Chrome
打開 Gmail網站 輸入帳號密碼 進行登入
chatGPT回覆

from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
from webdriver_manager.chrome import ChromeDriverManager
# 創建 Chrome 瀏覽器設定
chrome_options = webdriver.ChromeOptions()
Read more