[GH-ISSUE #2813] firejail help for novice #1764

Closed
opened 2026-05-05 08:26:07 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @Klaris69 on GitHub (Jun 30, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2813

Hi hi,
i am a newbie in linux and use in firejail :-P
I use: OS Linux Mint 19.1 Mate + firejail_0.9.56.2-LTS_1_amd64.deb
i want to use firejail only to block applications to access the internet.

I used the command: sudo firecfg
I misunderstood the command function,, (I thought it was a function to start the service automatically after the boot)
how can I disable or reset this setting?
when i run firefox and enter "firejail --top" (i see firefox is in firejail mode)

You can tell me how to proceed.
for example, I have a "ABC" folder on my desktop and I have a Double Commander application in it.
what do i do to keep this app running without internet access?

Originally created by @Klaris69 on GitHub (Jun 30, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/2813 Hi hi, i am a newbie in linux and use in firejail :-P I use: OS Linux Mint 19.1 Mate + firejail_0.9.56.2-LTS_1_amd64.deb i want to use firejail only to block applications to access the internet. I used the command: sudo firecfg I misunderstood the command function,, (I thought it was a function to start the service automatically after the boot) how can I disable or reset this setting? when i run firefox and enter "firejail --top" (i see firefox is in firejail mode) You can tell me how to proceed. for example, I have a "ABC" folder on my desktop and I have a Double Commander application in it. what do i do to keep this app running without internet access?
gitea-mirror 2026-05-05 08:26:07 -06:00
Author
Owner

@Klaris69 commented on GitHub (Jun 30, 2019):

Ok, If I'm not mistaken for my first question, the answer is: firecfg --clean

<!-- gh-comment-id:507062410 --> @Klaris69 commented on GitHub (Jun 30, 2019): Ok, If I'm not mistaken for my first question, the answer is: firecfg --clean
Author
Owner

@rusty-snake commented on GitHub (Jun 30, 2019):

Hi @Klaris69

I misunderstood the command function,, (I thought it was a function to start the service automatically after the boot)

firejail isn't a service, undo with sudo firecfg --clean

You can tell me how to proceed. for example, I have a "ABC" folder on my desktop and I have a Double Commander application in it.
what do i do to keep this app running without internet access?

Use --net=none on the command line or net none in profiles.
Example for mpv (media player):
Command line: firejail --net=none mpv foo.mp4 (works always)
Profiles: add net none to ~/.config/firejail/mpv.local and run firejail mpv foo.mp4 (works only if the application has a firejail profile)

<!-- gh-comment-id:507062503 --> @rusty-snake commented on GitHub (Jun 30, 2019): Hi @Klaris69 > I misunderstood the command function,, (I thought it was a function to start the service automatically after the boot) firejail isn't a service, undo with `sudo firecfg --clean` > You can tell me how to proceed. for example, I have a "ABC" folder on my desktop and I have a Double Commander application in it. what do i do to keep this app running without internet access? Use `--net=none` on the command line or `net none` in profiles. Example for mpv (media player): Command line: `firejail --net=none mpv foo.mp4` (works always) Profiles: add `net none` to `~/.config/firejail/mpv.local` and run `firejail mpv foo.mp4` (works only if the application has a firejail profile)
Author
Owner

@rusty-snake commented on GitHub (Jun 30, 2019):

You was faster 😂

<!-- gh-comment-id:507062650 --> @rusty-snake commented on GitHub (Jun 30, 2019): You was faster :joy:
Author
Owner
<!-- gh-comment-id:507062915 --> @rusty-snake commented on GitHub (Jun 30, 2019): FAQ about this: https://github.com/netblue30/firejail/wiki/Frequently-Asked-Questions#how-do-i-run-vlc-in-a-sandbox-without-network-access
Author
Owner

@Klaris69 commented on GitHub (Jun 30, 2019):

Oki, thnaks :-)

<!-- gh-comment-id:507064965 --> @Klaris69 commented on GitHub (Jun 30, 2019): Oki, thnaks :-)
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#1764
No description provided.