Skip to main content

SOCKS5

Expose a public port on the server as a SOCKS5 proxy entry; the client performs the handshake and dialing on the internal network.

Based on protocol = "tcp", enabled via [tunnels.plugin]; both username and password are required.

Example

Server:

# orbien-server.toml
listen = "0.0.0.0:9527"

Client:

# orbien.toml
server = "YOUR_SERVER_IP:9527"

[[tunnels]]
name = "socks5"
protocol = "tcp"
remotePort = 9000

[tunnels.plugin]
type = "socks5"
username = "admin"
password = "123456"

Access through the proxy from the public network:

curl --socks5 YOUR_SERVER_IP:9000 -U admin:123456 http://example.com

Parameters

ParameterRequiredDefaultDescription
nameYesTunnel name; must be unique
protocolYesAlways tcp
remotePortYesPublic listen port on the server (SOCKS5 entry)
plugin.typeYesAlways socks5
plugin.usernameYesSOCKS5 username
plugin.passwordYesSOCKS5 password
transport.bandwidthNo0Bandwidth cap (Mbps); 0 means unlimited
transport.bandwidthLimitSideNoclientLimit side: client / server
transport.proxyProtocolVersionNoPROXY Protocol: v1 / v2