[GH-ISSUE #1051] Firejail prevents qbittorrent from accessing tun0 network interface #715

Closed
opened 2026-05-05 06:30:55 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @anaknaga on GitHub (Jan 16, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1051

Using qbittorrent with its firejail profile prevents qbittorrent from accessing tun0 network interface.

Originally created by @anaknaga on GitHub (Jan 16, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1051 Using qbittorrent with its firejail profile prevents qbittorrent from accessing tun0 network interface.
gitea-mirror 2026-05-05 06:30:55 -06:00
Author
Owner

@netblue30 commented on GitHub (Jan 17, 2017):

How do you start the sandbox? Also, can you disable "private-dev" line in /etc/firejail/qbittorrent.profile (add a # in front of the line). Another line you can try to disable is "protocol unix,inet,inet6".

Question: why do you need tun0? Are you connecting over a tunnel?

<!-- gh-comment-id:273191310 --> @netblue30 commented on GitHub (Jan 17, 2017): How do you start the sandbox? Also, can you disable "private-dev" line in /etc/firejail/qbittorrent.profile (add a # in front of the line). Another line you can try to disable is "protocol unix,inet,inet6". Question: why do you need tun0? Are you connecting over a tunnel?
Author
Owner

@anaknaga commented on GitHub (Jan 17, 2017):

Thanks, disabling "protocol unix,inet,inet6" did the trick. If not disabled, qbittorrent cannot see any of my network interfaces. I'm indeed connecting through a VPN, and have set tun0 for use in its advanced options.

I'm starting it with a the default profile with the "ln -s /usr/bin/firejail /usr/local/bin/qbittorrent" technique.

<!-- gh-comment-id:273263630 --> @anaknaga commented on GitHub (Jan 17, 2017): Thanks, disabling "protocol unix,inet,inet6" did the trick. If not disabled, qbittorrent cannot see any of my network interfaces. I'm indeed connecting through a VPN, and have set tun0 for use in its advanced options. I'm starting it with a the default profile with the "ln -s /usr/bin/firejail /usr/local/bin/qbittorrent" technique.
Author
Owner

@netblue30 commented on GitHub (Jan 18, 2017):

Cool!

<!-- gh-comment-id:273539612 --> @netblue30 commented on GitHub (Jan 18, 2017): Cool!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#715
No description provided.