You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PulseSecure VPN does not work with systemd-resolved #17512
systemd version the issue has been seen with
246.6 at Arch Linux
Used distribution
Arch Linux, up-to-date
Linux kernel version used (uname -a)
5.9.3-arch1-1
CPU architecture issue was seen on
x86_64
My company recently moved to PulseSecure VPN. It provides proprietary closed-source client that sets up a VPN connection. Some people use this tool at Fedora with NetworkManager and say the tools works fine.
I am trying to use it at Arch with systemd-network and systemd-resolved. The tool seems sets up a VPN connection. But it does not configure DNS routing correctly. So I have to configure DNS manually like this:
and then sudo systemctl restart systemd-resolved.service. i.e. the DNS configuration and service restart has to be done manually. I would love to find a better automatic way to configure DNS at the VPN connection event.
Taking into account that some folks were able to make it working with NetworkManager flawlessly I believe that pulsesecure UI tool tries to send this DNS information to the system but systemd-resolved does not receive this information for some reason. I am looking for a way to make systemd-resolved with pulseUI without manual intervention.
I am eager to provide you as much debug information as possible but I do not know where to start debugging this issue.
there's no standardized logic on Linux how connection handlers can propagate DNS server info into the system. Some distros know the "resolvconf" tool, and systemd actually provides command line compat with that, when you invoke "resolvectl" via such an alias.
I am not sure what "pulsevpn" does to propagate DNs info into NM? Maybe it calls its D-Bus interfaces directly? We have similar interfaces. systemd's "resolvectl" provides a command line interface to that (and the "resolvconf" alias interface it provides, does too). You need to figure out what this pulsevpn thing actually precisely does with the DNS info...
If pulsevpn talks to NM: NM can propagate info on to resolved. Check NM docs how that is configured.
Activity
poettering commentedon Nov 3, 2020
there's no standardized logic on Linux how connection handlers can propagate DNS server info into the system. Some distros know the "resolvconf" tool, and systemd actually provides command line compat with that, when you invoke "resolvectl" via such an alias.
I am not sure what "pulsevpn" does to propagate DNs info into NM? Maybe it calls its D-Bus interfaces directly? We have similar interfaces. systemd's "resolvectl" provides a command line interface to that (and the "resolvconf" alias interface it provides, does too). You need to figure out what this pulsevpn thing actually precisely does with the DNS info...
If pulsevpn talks to NM: NM can propagate info on to resolved. Check NM docs how that is configured.
poettering commentedon Nov 20, 2020
#17678 now contains detailed info how to hook up VPNs with resolved. I think this is all we can do from our side: document exactly what to do.
docs: document what VPNs should do to systemd-resolved.service
docs: document what VPNs should do to systemd-resolved.service
sei-eschwartz commentedon Nov 6, 2023
If you came here because Pulse Secure isn't working, try
apt install resolvconfSpikhalskiy commentedon Apr 25, 2024
PulseSecure 22.7 works correctly with systemd-resolved and doesn't just overwrite
/etc/resolv.conflike versions 22.5 and below were doing.