連接你的IPV6 only VPS

WARP·Linux·小知識 · 2023-12-28 · 8422 人浏览

要想連接IPV6伺服器,需要連接點擁有IPV6地址,本次帶來IPV4伺服器連接IPV6伺服器
設IPV4伺服器為VPS A ,IPV6伺服器為VPS B
教程開始:
VPS A 安裝WARP
以下任選一個命令:
1.日常命令warp

    wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh

2.

    wget -N https://gitlab.com/Misaka-blog/warp-script/-/raw/main/warp.sh && bash warp.sh

然後獲取IPV6
2023-12-28T11:50:19.png

成功獲取
2023-12-28T11:52:14.png

最後運行以下命令連接你的 VPS B
注意 <> 要去掉

    ssh -6 -L 2222:localhost:22 <VPS B's IP>  -p 22
WARP Linux
  1. 还有一个思路是, 直接用webssh去访问.
    如果觉得把SSH数据交给第三方不放心, 可以搭自己的服务, 可以用免费的容器.
    演示站 https://ssh-crazypeace.koyeb.app/

本站立足于美利堅合衆國,請讀者自覺遵守當地法律!如有違規,本站不承擔任何法律責任! This site is based in the United States of America, readers are requested to abide by local laws! If there are any violations, this site does not bear any legal responsibility! Theme Jasmine by Kent Liao