docs: rename StrongHotpink-VM peer to virmach-lax
VirMach-assigned OS hostname wasn't very identifiable. Renamed the NetBird peer (and NB_HOSTNAME env) to virmach-lax — vendor + airport code convention that scales if more VirMach VPSes in other regions get added later (virmach-nrt, virmach-fra, etc). New FQDN: virmach-lax.netbird.selfhosted Operations reference: ssh root@virmach-lax.netbird.selfhosted OS-level hostname left as StrongHotpink-VM (provider default).
This commit is contained in:
@@ -115,16 +115,16 @@ Mac → NetBird → 家裡有白名單的 peer → 借它的公網 IP → VM。
|
|||||||
插入點:在「DROP all other SSH」那條之前
|
插入點:在「DROP all other SSH」那條之前
|
||||||
3. 之後 Mac / iPhone / 任何 NetBird peer 都能直接 SSH 到 VM,**不用再跳板**
|
3. 之後 Mac / iPhone / 任何 NetBird peer 都能直接 SSH 到 VM,**不用再跳板**
|
||||||
|
|
||||||
### 本部署的實例(StrongHotpink-VM,2026-04-18)
|
### 本部署的實例(`virmach-lax`,2026-04-18)
|
||||||
|
|
||||||
`141.11.93.252` 這台 VM 原本 SSH port 22 只認 `tailscale0` + `211.23.141.206` + HiNet。Mac 從另一個 ISP 連不到。採用方案 B:
|
`141.11.93.252`(VirMach VPS,Los Angeles)原本 SSH port 22 只認 `tailscale0` + `211.23.141.206` + HiNet。Mac 從另一個 ISP 連不到。採用方案 B:
|
||||||
|
|
||||||
- NetBird IP `100.71.121.88`,FQDN `stronghotpink-vm.netbird.selfhosted`
|
- NetBird IP `100.71.121.88`,FQDN `virmach-lax.netbird.selfhosted`
|
||||||
- 加 `iptables -I INPUT <位置> -i wt0 -p tcp --dport 22 -j ACCEPT`
|
- 加 `iptables -I INPUT <位置> -i wt0 -p tcp --dport 22 -j ACCEPT`
|
||||||
- 踩到同一個 **Tailscale kernel-mode iptables-legacy 衝突**(見 `peer-deployment-ops.md`),加 systemd oneshot 解決
|
- 踩到同一個 **Tailscale kernel-mode iptables-legacy 衝突**(見 `peer-deployment-ops.md`),加 systemd oneshot 解決
|
||||||
- `auto_groups=[servers]` 直接進正確 group,policy 自動套用
|
- `auto_groups=[servers]` 直接進正確 group,policy 自動套用
|
||||||
|
|
||||||
結果:Mac 直接 `ssh root@stronghotpink-vm.netbird.selfhosted` 即可進入,RTT ~175ms(走 Relay,跨區 P2P 不易打通但不影響 SSH)。
|
結果:Mac 直接 `ssh root@virmach-lax.netbird.selfhosted` 即可進入,RTT ~175ms(走 Relay,跨區 P2P 不易打通但不影響 SSH)。
|
||||||
|
|
||||||
### 配置策略建議
|
### 配置策略建議
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user