Experiment to get Root container to run VPN

I am trying to figure how I can make container that has privileged access, but not modify his at all to run VPN.

Been working this idea and some testing setups some time and haven’t yet got it working

Since most of the proprietary VPN software needs root and many others rights I haven’t got yet fully working VPN and by this I have used nordVPN that I have 2.5 years left on subscription so I would like to use it if I get this working.

I have found guide to creating nordVPN docker container but that I haven’t actually understand all. containers on advanced level is not my area yet, but will eventually learn.

Suggestions where I have failed on my tries is on root container I actually can install nordVPN no issues and export it to host, but then I get the errors to connect/login user permissions since I guess user is different on container than host so is there a way to link those or workaround? Second one comes probably same where it can’t connect to servers since user rights are different even on container it says same

My backup is protonVPN since that doesn’t require root and how it works is different from nordVPN, but has almost same features and that I can actually install and use and there is unofficial flatpak for to use if need

Main thing also why I want to achieve nordVPN to maybe solved is the learning curve and will eventually help me undymore how everything works

Feel free to move on correct place if not fit here

All ideas, suggestions are welcome

Maybe there is a way to make small default VPN container as base that gives everything needed to run everything again to not affect to base and Host not sure

Will it not work in a distrobox root container and follow these nordvpn instructions.

I prefer to use the gnome wireguard extension and use a config file. Just a switch on left top to turn off/on the connection.

When I had nordvpn I used the nordvpn browser extension. You will also not need root here.

i got it installed on container, but it never run container had systemd init and root, but i actually got it working now using transactional-update method first getting there RPM package that installs gpg key and repository, but spend some days to figure why those are not still seen on install and figured out that it adds those on “fedora” based repository folder not opneSUSE so had to copy the repository file to correct folder and then it was installed suggesfully this method might be the only way to get it actually working unless there is container method i havent figured out yet. will do some more testing on my testing laptop to see if i can achieve container method

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.