mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2135] [Feature] Manage Proxies #1447
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1447
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @asdfghjz on GitHub (Oct 4, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2135
It would be awesome if we could set different proxy settings for different apps :)
@chiraag-nataraj commented on GitHub (Oct 4, 2018):
This could be as simple as setting environment variables, assuming all programs respect them...
@netblue30 commented on GitHub (Oct 8, 2018):
Yes, look for environment variables. Probably every program uses a different env var for the proxy.
@chiraag-nataraj commented on GitHub (Oct 8, 2018):
Many will respect
HTTP{,S}_PROXY. Some require it to be lower-case (http{,s}_proxy).@asdfghjz commented on GitHub (Oct 26, 2018):
@chiraag-nataraj @netblue30 Thanks for your response, how would I do that?
The main idea, is to force applications to use a Proxy. Something similar to TorSocks but for any Proxy.
(except without the need to, use "torsocks" before every command line and with a GUI.)
@SkewedZeppelin commented on GitHub (Oct 26, 2018):
Add something like the following to a profile
I shold note, torsocks is a ld.preload shim that actually intercepts calls and enforces they route over the proxy, providing a layer of safety. So depending on what application you are using you might not want to use this env method.
@asdfghjz commented on GitHub (Oct 26, 2018):
@SkewedZeppelin How do you add that to a profile? Can I use FireTools or the Config app? Or is there a terminal command?
@smitsohu commented on GitHub (Oct 30, 2018):
sudo sh -c "echo env HTTP_PROXY=http://127.0.0.1:3128 >> /etc/firejail/programname.profile"@rusty-snake commented on GitHub (May 14, 2019):
Or
echo "env HTTP_PROXY=http://127.0.0.1:3128" >> $HOME/.config/firejail/PROGRAMM.local@chiraag-nataraj commented on GitHub (May 20, 2019):
Either way, I think the question has been answered sufficiently thoroughly. I'll go ahead and close, but @asdfghjz, please feel free to re-open if you have additional questions!