-
-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting Syncthing environment variable all_proxy
#98
Comments
Currently setting a proxy is not possible. So it is a missing feature. |
As a workaround you could follow #154 (comment) |
@opensource21 setting environment variables is not possible with #154 only commandline parameters |
Here is a less elegant way to achieve the goal: |
Yeah I understand you need to bypass the (corporate) firewall or proxy via e.g Tor using the SOCKS5 protocol. For my own reference we need to inject the Code need to be touched located here: syncthing-macos/syncthing/STApplication.m Line 69 in c1387cb
syncthing-macos/syncthing/STApplication.m Line 35 in c1387cb
|
Yes, I have checked the documentation on environment variables for a specific agent. Is there another way to specify the agent through the application, rather than, as I mentioned earlier, using the command line to start the app to achieve the purpose of injecting environment variables? |
No currently the only environment variable we set/inject is
It would be more nice to have two turning knobs in the GUI so you can set the URL and enable/disable proxying. I can't promise when I implement this, but its not that hard. Syncthing macOS is a one man show, I do it in my (expensive) free time. |
Maybe we should also detect system wide proxy: https://apple.stackexchange.com/a/396066. |
Thank you sir. |
Sure it doesn't work, it was a proposal for myself if that was not clear. It has not been implemented yet to inject the proxy environment variable. |
all_proxy
how can I use proxy in
syncthing-macos
? I can set aall_proxy=...
in systemd service file, but it does not provide a way to set environment variable in syncthing-macos.The text was updated successfully, but these errors were encountered: