I would like to be able to use the “classic” value for the “confinement” attribute. I’m developing a tool for VPN and I need different permissions to manipulate VPNs. With the “classic” option I can do all VPN operations, Create, update, delete and connect.
Other VPN tools have been successfully created using strict confinement - likely you will need to plugfirewall-control or some similar interface - please see https://snapcraft.io/docs/debug-snaps for more details on how to figure out which interfaces to plug - in particular the use of snappy-debug. Thanks.
Core18 with the installation of the network-manager package does not have the external plugin “org.vpn.freedesktop” for VPN.
core20 does not have Maven, and core22 also throws errors.
It’s been a while since we last discussed. I am checking the status of this request. Did you make any progress with making j-ovpn-ui work under strict confimenet?
I made no progress. I couldn’t find any documentation that could help. Since it’s been a while, I don’t remember the details anymore, but I didn’t find any solution. In all the tests I did, it failed. I abandoned the project due to lack of support for Snap.
There are quite a few VPN clients in the store that work fine under strict confinement, did you consider just taking a look at their snapcraft.yaml ? The snap ecosystem should provide all your app needs through its different network, system and hardware related interfaces.
I found it by searching on the store: https://snapcraft.io/search?q=VPN+client, and then inspecting the developer side link. I just shared the first I clicked on, not sure if it serve your needs (but you can keep searching the other results or even search here in the forum for similar keywords)
@diego.armange.costa - since we’ve not heard back from you, we are removing this request from our review queue. When you have more time to respond, simply do so here and we can add the request back to the queue. Thanks!