When I set up a OpenConnect VPN in Fedora 28 the /etc/resolv.conf is automatically modified to contain the name servers of the VPN.
In Fedora 28, after establishing the VPN connection the /etc/resolv.conf looks like:
#@VPNC_GENERATED@ -- this file is generated by vpnc
# and will be overwritten by vpnc
# as long as the above mark is intact
# Generated by NetworkManager
nameserver 192.168.a.b
nameserver 192.168.a.c
search my.domain
However in Fedora 29, after establishing the VPN connection the /etc/resolv.cinf looks still like:
# Generated by NetworkManager
nameserver 192.168.d.e
I would expect that the name servers are automatically correctly configured when setting up a VPN.
Comment 1Beniamino Galvani
2018-11-08 09:12:15 UTC
Can you please show the 'nmcli' output when you are connected to the VPN?