206523344f
To use cloudflared as a socks proxy, add an ingress on the server side with your desired rules. Rules are matched in the order they are added. If there are no rules, it is an implicit allow. If there are rules, but no rule matches match, the connection is denied. ingress: - hostname: socks.example.com service: socks-proxy originRequest: ipRules: - prefix: 1.1.1.1/24 ports: [80, 443] allow: true - prefix: 0.0.0.0/0 allow: false On the client, run using tcp mode: cloudflared access tcp --hostname socks.example.com --url 127.0.0.1:8080 Set your socks proxy as 127.0.0.1:8080 and you will now be proxying all connections to the remote machine. |
||
---|---|---|
.. | ||
auth_handler.go | ||
authenticator.go | ||
connection_handler.go | ||
connection_handler_test.go | ||
dialer.go | ||
request.go | ||
request_handler.go | ||
request_handler_test.go | ||
request_test.go |