Hi, I want to connect project IDX using Pritunl to private network. Is that possible? because when I trying to add a profile. The error says /var/run/pritunl.auth no such file or directory. or any other VPN support to connect?
I don’t think this is possible in the usual way as the filesystem in IDX is read-only so any changes to the filesystem is not possible.
Never used Pritunl but if there is a nixos package for it then you should be able to install it by adding it to the pkgs block in the dev.nix file.
Yes, I was install that package inside nix configuration but. That happens when I want to add the profile. I wonder if I use OpenVPN instead pritunl. Is that possible to connect?
I use pritunl-client in my pop-os which is built on top of the electron. Since idx didn’t have gui. I tried using pritunl on CLI, but it needs the /var/run/pritunl.auth. which isn’t possible there.
Or is there any other approach using other lib to connect through VPN ?
Thanks
Don’t know. Never used Pritunl. However, maybe there are some restrictions - this will be the case if the IDX workspaces are actually unprivileged containers. As, within containers, it is not possible to create a network interface or do some packet routing unless the container is privileged.