-
Hi Sorry to bother you, I know I suck this time. But I did look a lot did try a lot I want a to use netns with firejail I did try
and with pvpnksintrf0 No success, used no profile........ I'm really stuck on this, shame but 5 hours, now I'm crazy Thanks a lot |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi. Can you post output from the firejail command(s) you have been trying? After you've created that named, persistent network namespace, something like the below is needed for sandboxing the app in question with firejail: $ firejail --netns=vpn_namespace /path/to/program HTH |
Beta Was this translation helpful? Give feedback.
-
Hi Thanks for your answer, I even run app using But the real problem, is the way I make the name space, I want to use an existing tun0... Might disappear and address change... Bridge or move the tun0 inside, there's a killswitch but if an app is not binded to tun0 it's leak even with it. Here's all interfaces in virtualbox:
Then DNS, gateway .... Thanks a lot |
Beta Was this translation helpful? Give feedback.
@glitsj16
I've been down the rabbit hole of ancient debates about that pesky layer 3 tun0 problem, which seems destined to never get native firejail support. I've tried every namespace bridge trick and tun0 shuffle... The secret sauce? It's iptables!
But the real star of the show is opensnitch (Be sure to use this version, it's highly customizable!
) with its delightful GUI, making it super adjustable!
To add an extra layer of security, I've even put the VM on lockdown from the host, letting it chat only with the VPN server. So, I'm feeling pretty good about firejailing with apparmor (each doing its own thing). Fingers crossed, right? SELINUX might be the belle of the ball, but...
And voi…