942 B
942 B
OpenVPN
Assume you use Archlinux.
Read OpenVPN.
Read The update-systemd-resolved custom script.
Read update-systemd-resolved.
Read Connecting To Access Server With Linux.
Install openvpn-update-systemd-resolved.
Start/enable service:
systemctl start systemd-resolved.service
systemctl enable systemd-resolved.service
Edit client.ovpn
:
up /etc/openvpn/scripts/update-systemd-resolved
up-restart
down /etc/openvpn/scripts/update-systemd-resolved
down-pre
Connect:
sudo openvpn --config /path/to/client.ovpn --auth-user-pass --auth-retry interact