介紹
grs是一個反向socks5代理,其中grss和grsc和grsu是通過REALITY協議通信。相對于frp,nps等內網穿透工具有以下特點:
完美消除網絡特征
防止服務端被主動探測
客戶端和用戶端內嵌配置,不需要命令行或額外配置文件
grss(Golang Reverse SOCKS5 Server) 服務端,需要有公網IP的機器上
grsc(Golang Reverse SOCKS5 Client) 客戶端,需要運行于想要穿透的內網中機器上
grsu(Golang Reverse SOCKS5 User) 用戶端,需要運行于用戶機器上,提供socks5服務
在初次使用的時候需要生成配置、客戶端、用戶端相關信息grss gen www.qq.com:443 127.0.0.1:443
- 127.0.0.1:443 是服務器監聽地址,這里要填寫公網IP,端口最好和模擬目標一致
若SNIAddr或ServerAddr不指定,則嘗試加載已有配置文件。默認生成3個不同id文件名的客戶端,可通過-c
參數指定
Usage:
grss [OPTIONS] gen [gen-OPTIONS] [SNIAddr] [ServerAddr]
generate server config and client
Help Options:
-h, --help Show this help message
[gen command options]
-d debug
-f=[chrome|firefox|safari|ios|android|edge|360|qq] client finger print (default: chrome)
-e= expire second (default: 30)
-o= server config output path (default: config.json)
-c= client count (default: 3)
-s skip client cert verify
--dir= client output directory (default: .)
[gen command arguments]
SNIAddr: tls server address, e.g. example.com:443
ServerAddr: server address, e.g. 8.8.8.8:443
Usage:
grss [OPTIONS] serv [serv-OPTIONS]
run server
Help Options:
-h, --help Show this help message
[serv command options]
-o= server config path (default: config.json)
啟動客戶端:grsc X
啟動用戶端:grsu -id 0
這里id參數對應了grsc的id,不同id會連接不同的grsc
Usage of grsu:
-i uint
id
-l string
socks5 listen address (default "127.0.0.1:61080")
https://github.com/howmp/reality
項目下載
-
35.8 MBNov 27, 2024
-
35.5 MBNov 27, 2024
-
35.3 MBNov 27, 2024
-
34.7 MBNov 27, 2024
-
35.6 MBNov 27, 2024
-
35.2 MBNov 27, 2024
-
3 KBNov 27, 2024
-
3.68 KBNov 27, 2024
-
Nov 27, 2024
-
Nov 27, 2024
閱讀原文:原文鏈接
該文章在 2025/2/14 12:24:18 編輯過