proxychains-ng icon indicating copy to clipboard operation
proxychains-ng copied to clipboard

Run flatpak apps under proxychain?

Open ghsehdrhdrh opened this issue 4 years ago • 4 comments

So I don't know how I should run flatpak apps under proxychains. I am currently trying to run it with FreeTube. But the command to run FreeTube from flatpak is the following:

/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/run.sh --file-forwarding io.freetubeapp.FreeTube @@u %u @@

And I tried putting proxychains4 in there but it never worked lol.

ghsehdrhdrh avatar Aug 14 '19 18:08 ghsehdrhdrh

you can try to hack the proxychains call inside the run.sh. i guess you'd need to pack proxychains into the flatpack though.

rofl0r avatar Aug 14 '19 19:08 rofl0r

The proxy cannot be implemented using the following methods:

/usr/local/bin/proxychains4 /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=telegram-desktop --file-forwarding org.telegram.desktop
/usr/local/bin/proxychains4 /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=netease-cloud-music --file-forwarding com.netease.CloudMusic

PS: The software's own proxy setting is "Use system proxy"

No log printing

My OS Env: Software: proxychains-ng_v4.14 OS: CentOS 7.6

Zyx-A avatar Mar 20 '20 11:03 Zyx-A

I am encountering the same problem... On Fedora 33... Tyring to use the Signal Desktop app with Flatpak and Proxychains.

lmirguet avatar Jan 19 '21 09:01 lmirguet

as i understand it, a flatpack is basically a whole OS packed into some sort of container. the only way to make it work is to put proxychains inside that OS and start it up together with the app.

rofl0r avatar Jan 19 '21 13:01 rofl0r