Skip to content

How to use a VPN just for the sandbox? #6502

Answered by amano-kenji
froggy2090 asked this question in Q&A
Discussion options

You must be logged in to vote

Firejail won't set up complex network infrastructure. You will need to write a few init services that set up network namespaces with VPN capabilities.

Run firejail --netns=vpn1 or firejail --netns=vpn2.

I applied https://www.wireguard.com/netns/ to my own system. You can also redirect a traffic from a network namespace to tor through firewall rules.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by froggy2090
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
networking Issues related to networking features (--net=, etc)
2 participants