mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1600] Is there a recommended workaround for using wlan interfaces with firejail? #1068
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#1068
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 @sakaki- on GitHub (Oct 9, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1600
Hi, many thanks for making this software available, it's an extremely useful tool!
I have been using
firejailfor a while now on my desktop machine withfirefox,thunderbirdetc. each running in its ownxephyrX11 sandbox, with--net=eth0. Since this type of setup provides a good security boost to probably the most vulnerable components on most people's systems, I'd like to add instructions for using it to my EFI Install Guide on the Gentoo wiki.However, I understand from the
firejailmanpage that the--net=option is incompatible with wlan interfaces. Since many users of my guide install to laptops with only WiFi, no Ethernet, my question is this: is there a recommended workaround for these cases? For example, can atuninterface be used infirejail, with packets being forwarded to the wlan viaiptablesrules, or something similar?@netblue30 commented on GitHub (Oct 11, 2017):
Try this setup: https://firejail.wordpress.com/documentation-2/basic-usage/#routed
You would need to configure a bridge device and start the sandboxes on that bridge. You will also need to set iptables on the main system to do network address translation between the bridge and your wlan interface. I think if you change eth0 with wlan0 in that script it will work.
@sakaki- commented on GitHub (Oct 11, 2017):
Thanks - I'll try that.