Thanks, Adam, I'll have to try this. It's hard to know how much of the issues with NetworkManager+VPNs is a GuixSD-specific issue and how much is just NetworkManager (on my Arch machine, I have to connect to openvpn 'by hand', it won't connect through NetworkManager; but on my Bedrock/pieces-from-a-bunch-of-different-distros machine, OpenVPN 'just works' directly in NetworkManager).
—Ben On 2018-09-10T10:05:56-0600, Adam Massmann <[email protected]> wrote: > Hi Ben, > Benjamin Slade <[email protected]> writes: > > > > What is a recommended/working way of using OpenVPN on GuixSD? > I do not know what the recommended way of working with > openvpn is, but I do have a working way. Attached is a bash > script that takes a wireless interface as an argument and > starts up a vpn, adjusting dns to avoid dns leaks (you will > need to modify to add the dns for your setup). So if I have > a wifi connection called "interface" I just run > ```vpn-launcher-example.sh interface``` to start my vpn > session, and then ```vpn-killer-example.sh interface``` > to cleanup the connection after I have finished > openvpn. Also depending on your setup you might need to > either run as root, or sprinkle sudos before the nmcli > calls. > This works well for me, but I strongly doubt it is the > recommended way using openvpn. If anyone has a better way > I'd also love to hear it. > Best, > Adam -- Benjamin Slade - https://babbagefiles.xyz `(pgp_fp: ,(21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19)) '(sent by mu4e on Emacs running under GNU/Linux . https://gnu.org ) `(Choose Linux ,(Choose Freedom) . https://linux.com )
