[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: openvpn with networkmanager
From: |
Adam Massmann |
Subject: |
Re: openvpn with networkmanager |
Date: |
Mon, 10 Sep 2018 12:05:56 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi Ben,
Benjamin Slade <address@hidden> 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
vpn-launcher-example.sh
Description: Bourne shell script
vpn-killer-example.sh
Description: Bourne shell script
- openvpn with networkmanager, Benjamin Slade, 2018/09/04
- Re: openvpn with networkmanager, Ludovic Courtès, 2018/09/09
- Re: openvpn with networkmanager, Benjamin Slade, 2018/09/10
- Re: openvpn with networkmanager,
Adam Massmann <=
- Re: openvpn with networkmanager, Benjamin Slade, 2018/09/10
- Re: openvpn with networkmanager, Julien Lepiller, 2018/09/11
- Re: openvpn with networkmanager, Adam Massmann, 2018/09/11
- Re: openvpn with networkmanager, Benjamin Slade, 2018/09/11
- Re: openvpn with networkmanager, Ludovic Courtès, 2018/09/13
- Re: openvpn with networkmanager, Benjamin Slade, 2018/09/17