Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RunAsUser string
RunAsUser overrides the system user for the SOCKS5 service. When non-empty the service runs as this user instead of config.SystemUser. Set this before calling any Setup* function when WARP routing is active.
Functions ¶
func SetupSOCKS ¶
func SetupSOCKS() error
SetupSOCKS creates the SOCKS5 proxy service (localhost only).
func SetupSOCKSExternal ¶
SetupSOCKSExternal creates the SOCKS5 proxy on all interfaces (for direct SOCKS5).
func SetupSOCKSWithAuth ¶
SetupSOCKSWithAuth creates the SOCKS5 proxy with auth (localhost only).
Types ¶
Click to show internal directories.
Click to hide internal directories.