How to use outlinevpn client as a SOCKS proxy to connect on demand not system-wide

Hi everyone, I just found out about outline proxy and it is amazing, but there is one thing that I cannot figure out how to do.

I want to be able to connect to the proxy on demand like when using foxy proxy in the browser or setting a proxy arguments for programs, I have been using WARP before and it provided a CLI which enables this kind of behaviour instead of a system-wide proxy, is there something similar for outline or anything I can do to achieve what I want ??

Currently, this is not possible with Outline. You might want to give Nekoray a try GitHub - MatsuriDayo/nekoray: Qt based cross-platform GUI proxy configuration manager (backend: sing-box)

On desktop, you can use this:

KEY=ss://ENCRYPTION_KEY@HOST:PORT/
go run github.com/Jigsaw-Code/outline-sdk/x/examples/http2transport@latest -transport "$KEY" -addr localhost:8080

This will start a HTTP proxy on localhost:8080.

You will need to install Go first.

We don’t have support for SOCKS yet, but we want to add a command-line for that too.

C:\Users\user>KEY=test

'KEY' is not recognized as an internal or external command,

operable program or batch file.

It is a Linux bash command, won’t work on Windows as you expect.