Skip to content

How to run behind a SOCKS5 proxy? #127

@leoniscsem

Description

@leoniscsem

Ubuntu 22.04
GNOME 42.9
X11 (thanks, Nvidia...)

Because of the Great Firewall of China I have to proxy through one of our servers in the outside world. Yet I do not proxy all of my traffic through it via system proxy, but just use it for specific applications.

I was able to proxy another Matrix client by the GNOME team which came as a flatpak. I prefer snap packages though, and Neuchadnezzar looks really interesting to me. I (clumsily) tried to launch it like this, but found out due to the isolation from the system this directive is ignored:
env ALL_PROXY=socks5h://127.0.0.1:8080 nebuchadnezzar

I have also installed and configured proxychains4, but snap seems to ignore my proxy. Even, when I configure a system-wide proxy in my system settings.

I found another hint in this Snapcraft forum thread, but it does not apply here since it addresses snapd. Any adivce would be helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions