Skip to content

Commit

Permalink
又忘记改版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
zanjie1999 committed May 15, 2023
1 parent de57e43 commit 047390f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tcp2ws.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Tcp over WebSocket (tcp2ws)
// 基于ws的内网穿透工具
// Sparkle 20210430
// v10.0
// 10.1

package main

Expand Down Expand Up @@ -613,7 +613,7 @@ func dnsPreferIpWithTtl(hostname string, ttl uint32) {
func main() {
arg_num := len(os.Args)
if arg_num < 3 {
fmt.Println("TCP over WebSocket (tcp2ws) with UDP support v10.0\nhttps://github.com/zanjie1999/tcp-over-websocket")
fmt.Println("TCP over WebSocket (tcp2ws) with UDP support 10.1\nhttps://github.com/zanjie1999/tcp-over-websocket")
fmt.Println("Client: ws://tcp2wsUrl localPort\nServer: ip:port tcp2wsPort\nUse wss: ip:port tcp2wsPort server.crt server.key")
fmt.Println("Make ssl cert:\nopenssl genrsa -out server.key 2048\nopenssl ecparam -genkey -name secp384r1 -out server.key\nopenssl req -new -x509 -sha256 -key server.key -out server.crt -days 36500")
os.Exit(0)
Expand Down

0 comments on commit 047390f

Please sign in to comment.