add reverse portfwd function

This commit is contained in:
FunnyWolf
2022-03-10 20:12:22 +08:00
parent df012ce04b
commit 620d528233
6 changed files with 239 additions and 171 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ import (
)
func main() {
localServer := flag.String("s5", "127.0.0.1:1080", "The local socks5 server address (your proxychains parameter)")
localServer := flag.String("p", "127.0.0.1:1080", "The local socks5 server address or ip:port to connect")
relayServer := flag.String("l", "0.0.0.0:443", "The relay server listening address (the connect-back address)")
certFile := flag.String("cert", "cert.pem", "The TLS server certificate,Unnecessary")
keyFile := flag.String("key", "key.pem", "The TLS server key,Unnecessary")