JsBergbau / BindToInterface

With this program you can bind applications to a specific network interface / network adapter. This is very useful if you have multiple (internet) connections and want your program to use a specific one.
GNU Affero General Public License v3.0
112 stars 13 forks source link

Binding won't work with programs packed in snap packages #11

Open Mikhael-Danilov opened 1 year ago

Mikhael-Danilov commented 1 year ago

For example, with Firefox in Ubuntu 22.04

JsBergbau commented 1 year ago

Probably these snap packages ship with their own C libary and thats why it won't work. To be honest I don't like snap packages because every packages uses, as far as I have seen, a loop device, so when using lsblk to get an overview of the drives is crowded by snap drives. Omitting loop drives is also no option because of luks/cryptsetup drives. So when I setup a fresh ubuntu-server I remove all this snap packages via this tutorial https://www.simplified.guide/ubuntu/remove-snapd

Probably these snap packages would have to be packed with BindToInterface to work. Perhaps you can find out more about it.