7

基于 SSH 的内网穿透服务免费提供支持

 1 year ago
source link: https://www.v2ex.com/t/899781
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  分享创造

基于 SSH 的内网穿透服务免费提供支持

  zzupw · secssh · 2 小时 52 分钟前 · 842 次点击

ssh -R 公网访问端口:内部服务 IP:内部服务端口 secssh.com

直接访问 secssh:公网端口 即可

  1. 穿透本机服务到公网

    比如我想把我本机的 8000 端口穿透到公网

    我需要在我本机执行 ssh -R 1234:127.0.0.1:8000 secssh.com

    这样我就把我本机的 8000 端口转发到了 secssh.com 的 1234 端口上

    直接访问 secssh.com:1234 端口即可

  2. 穿透其他机器的服务到公网

    比如我想把局域网下 192.168.1.1 的 80 端口穿透到公网

    我需要在我本机执行

    ssh -R 8888:192.168.1.1:80 secssh.com

    这样我们就把局域网下的 192.168.1.1:80 端口转发到了 secssh.com 的 8888 端口上了

    直接访问 secssh.com:1234 端口即可

公网端口任选范围 1025 ~ 65535 如果有人用了就不能用同一个了

从服务器到 secssh 服务的数据传输是加密的

请勿用于非法用途,后果自负

1 条回复    2022-12-03 12:41:42 +08:00
t202201

t202201      2 小时 41 分钟前 via iPhone

插个眼,看大家怎么评价

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK