This tool is primarily for use with openfortivpn, patched (alternative) to allow for hook scripts. It uses D-Bus to set up DNS settings for the PPP interface. It is based on the script in adrienverge/openfortivpn#615.
In your configuration file for your patched copy of openfortivpn:
ifup-script = /path/to/ifup-systemd-resolved
Environment variables must be set for this application to do anything.
Name | Description |
---|---|
DNS_SERVERS |
DNS server IPs and names. Both IPv4 and IPv6 are supported. |
DNS_SUFFIX |
Search domains. |
DNSSEC |
If non-empty, it should be default , yes , no , or allow-downgrade . |
NET_DEVICE |
Name of the device (see ifconfig or similar). Usually this something similar to ppp0 . |
You must have Qt development libraries and Extra CMake Modules installed.
git clone ...
mkdir the-repo-dir/build
cd the-repo-dir/build
cmake ..
make