apernet / hysteria

Hysteria is a powerful, lightning fast and censorship resistant proxy.
https://v2.hysteria.network/
MIT License
14.54k stars 1.62k forks source link

客户端能否支持ss出入口 #320

Open dbr4fr opened 2 years ago

dbr4fr commented 2 years ago

貌似上个issue说的不是很清楚,现在是支持的是http,socks5出入口,如果支持ss那就可以只用在一小段拥堵的网络中,非专业人士,如果用的词不是很恰当望见谅.

tobyxdd commented 2 years ago

哦。。你指的是支持 ss 作为 inbound

目前没计划 不过我之后看看好不好加吧

dbr4fr commented 2 years ago

仰望大佬:(

Smallthing commented 2 years ago

貌似上个issue说的不是很清楚,现在是支持的是http,socks5出入口,如果支持ss那就可以只用在一小段拥堵的网络中,非专业人士,如果用的词不是很恰当望见谅.

我现在是监听本地回环的socks5 当然多了一重,如果可以ss inbound那当然是完美

xsean2020 commented 2 years ago

tcpproxy 模式转发给ss 就OK了呀

Smallthing commented 2 years ago

tcpproxy 模式转发给ss 就OK了呀

首先转发一次增加延迟 其次是ss inbound 不是outbound

woodlyer commented 1 year ago

client use relay_tcps to set server to relay your connection to ss on the server.

client.json

{
  "server": "abc.com:8000", //hyst  server listen on  abc.com:8000  
  "hop_interval": 120,
  "insecure": false,
  "obfs": "123456", 
  "up_mbps": 10,
  "down_mbps": 50,

  "relay_tcps": [
        {
          "listen": "0.0.0.0:1080", //hyst listen on client 1080
          "remote": "127.0.0.1:8388",   // ss listen on 8388 of server
          "timeout": 300 
        }
    ]
}