mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2416] How to sandbox --net X11 browser over OpenVPN / Wireguard with Firejail #1610
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#1610
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 @rugabunda on GitHub (Feb 18, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2416
Whether one is running a VPN at the router, or local machine then there is a problem with Firejail's --net= command, and some necessary parameters must be laid out. In my router, only designated IPs on the local subnet may connect through the VPN. If one is running a VPN on the local machine, command --net results in firejail creating an alternate adapter that connects over a randomly generated IP on the local subnet. Given the IP is non static, this IP will operate out of the secure confines of a VPN operating on the router. The same can be said for a local machine VPN because the VPN runs souly over a designated adapter. Ok, so you run
firejail --net=eth0 --ip=192.168.1.207 firefoxfor example... butHow do I get firejail --net command to work over VPN running directly on a local machine? I have tried this for my wireguard adapter:
firejail --net=wireguardvpn --ip=192.168.1.20I receive the error "the software is not supported for /31 networks.Also, using
--netcommand on my adapter breaks all internet connectivity for the app, if it is pointing to the designated VPN IP on my local subnet, it is not able to connect to the internet. I am using the correct ethernet name.In this instance, I am using the new VPN standard known as wireguard. This is not currently compatible with my router hardware. If firejail could generate an adapter that uses a static IP, and that IP can be set to use 'wireguard' vpn, then there are no problems. How can I accomplish this, or better methods?
Thank you.
@rugabunda commented on GitHub (Feb 18, 2019):
Updated with,
@rugabunda commented on GitHub (Feb 18, 2019):
Strange, I am no longer able to connect to the net even without a designated ip using --net=eth0 whether the local wireguard tunnel is up or down.