connect openvpn
parent
37c60ea43a
commit
1e01b90c56
10
openvpn.md
10
openvpn.md
|
@ -8,6 +8,8 @@ Read [The update-systemd-resolved custom script](https://wiki.archlinux.org/inde
|
||||||
|
|
||||||
Read [update-systemd-resolved](https://github.com/jonathanio/update-systemd-resolved).
|
Read [update-systemd-resolved](https://github.com/jonathanio/update-systemd-resolved).
|
||||||
|
|
||||||
|
Read [Connecting To Access Server With Linux](https://openvpn.net/vpn-server-resources/connecting-to-access-server-with-linux/).
|
||||||
|
|
||||||
Install [openvpn-update-systemd-resolved](https://aur.archlinux.org/packages/openvpn-update-systemd-resolved/).
|
Install [openvpn-update-systemd-resolved](https://aur.archlinux.org/packages/openvpn-update-systemd-resolved/).
|
||||||
|
|
||||||
Start/enable service:
|
Start/enable service:
|
||||||
|
@ -18,7 +20,7 @@ systemctl start systemd-resolved.service
|
||||||
systemctl enable systemd-resolved.service
|
systemctl enable systemd-resolved.service
|
||||||
```
|
```
|
||||||
|
|
||||||
Edit `client.opvn`:
|
Edit `client.ovpn`:
|
||||||
|
|
||||||
```txt
|
```txt
|
||||||
up /etc/openvpn/scripts/update-systemd-resolved
|
up /etc/openvpn/scripts/update-systemd-resolved
|
||||||
|
@ -26,3 +28,9 @@ up-restart
|
||||||
down /etc/openvpn/scripts/update-systemd-resolved
|
down /etc/openvpn/scripts/update-systemd-resolved
|
||||||
down-pre
|
down-pre
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Connect:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
sudo openvpn --config /path/to/client.ovpn --auth-user-pass --auth-retry interact
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue