mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-10-22 01:51:20 +03:00
Add support for SOCKS5 proxy protocol
This commit is contained in:
1 parent
919cb2ae75
commit
53e0a2e5e2
16 files changed
+791
-147
No files matched your search
+2
-1
@@ -391,7 +391,8 @@
|
||||
// Type of proxy
|
||||
#define PROXY_DIRECT 0 // Direct TCP connection
|
||||
#define PROXY_HTTP 1 // Connection via HTTP proxy server
|
||||
#define PROXY_SOCKS 2 // Connection via SOCKS proxy server
|
||||
#define PROXY_SOCKS 2 // Connection via SOCKS4 proxy server
|
||||
#define PROXY_SOCKS5 3 // Connection via SOCKS5 proxy server
|
||||
|
||||
// Direction of data flow
|
||||
#define TCP_BOTH 0 // Bi-directional
|
||||
|
||||
Reference in new issue
Block a user