Hi, does Alhena currently support HTTP or SOCKS proxy?
I'm trying to connect an I2P capsule that requires the i2pd proxy on 127.0.0.1:4444
I need this information to include in my article about available clients with proxy option support:
Oct 10 · 2 months ago
7 Comments ↓
Alhena doesn't currently support SOCKS. The "HTTP Proxy" in settings is for Gemini to HTTP gateways like Stargate. That said, I've noticed there are methods in the API for proxies.
From the doc for NetClient's setProxyOptions(): "Set proxy options for connections via CONNECT proxy (e.g. Squid) or a SOCKS proxy"
If I had a way to test this, its entirely possible I could implement support in short order.
@ps I set up a SOCKS proxy with SSH and added a few lines to Alhena's NetClient configuration. It works.
I assume this is the support you're after? I'll add a dialog for configuring the proxy.
Just an idea, to add the host regex settings to the UI like it is implemented here:
Because on my example, I'm using different proxy for different networks: I2P, ygg, myc, and maybe internet
@ps SOCKS5 support available now if you build from source. It will be in the next binary release (probably today or tomorrow).
Right now, it's either on or off for all protocols (gemini, nex, spartan and http). I'll consider your regex and ui change but that's a bit more work.
Yes I know, but this routing is required in I2P/Tor context, to not apply single proxy interface to all connection types, including Internet one. Of course, experienced users may install additional proxy like squid.
Thanks, will note your browser in my recommendations! Surprised that Lagrange does not support proxy out of the box. Maybe that is the reason why I can't find I2P capsules in Geminispace yet.
@ps I haven't implemented your filtering scheme but the next release (or now when building from source) will have an option to use SOCKS5 only when opening onion and ip2 links. If properly configured, you can also right-click on a page and select "SOCKS5 Only Domain" from the popup. That means any future requests to that host will use SOCKS5. For example, say you want to use TOR when visiting bbs.geminispace.org but regular networking for everything else.