Page 1 of 1

Unable to connect to vpn via networkmanager and openvpn

PostPosted: Jun 18th, '20, 05:49
by duskmourn
Whenever I attempt to connect to my vpn with networkmanager, it seems to have an issue with the DNS settings because it cannot resolve most domains while on. Below is what happens when I attempt to ping both duckduckgo and google with the vpn enabled, for whatever reason google is one of the few domains still resolvable.

Code: Select all
[duskmourn@navi Downloads]$ ping www.duckduckgo.com
PING duckduckgo.com (23.21.193.169) 56(84) bytes of data.
From navi.attlocal.net (10.96.10.6) icmp_seq=1 Destination Host Unreachable
ping: sendmsg: Operation not permitted
From navi.attlocal.net (10.96.10.6) icmp_seq=2 Destination Host Unreachable
ping: sendmsg: Operation not permitted
From navi.attlocal.net (10.96.10.6) icmp_seq=3 Destination Host Unreachable
ping: sendmsg: Operation not permitted
From navi.attlocal.net (10.96.10.6) icmp_seq=4 Destination Host Unreachable
ping: sendmsg: Operation not permitted
^Z
[1]+  Stopped                 ping www.duckduckgo.com
[duskmourn@navi Downloads]$ ping www.google.com
PING www.google.com(dfw25s27-in-x04.1e100.net (2607:f8b0:4000:814::2004)) 56 data bytes
64 bytes from dfw25s27-in-x04.1e100.net (2607:f8b0:4000:814::2004): icmp_seq=1 ttl=116 time=51.8 ms
64 bytes from dfw25s27-in-x04.1e100.net (2607:f8b0:4000:814::2004): icmp_seq=2 ttl=116 time=51.4 ms
64 bytes from dfw25s27-in-x04.1e100.net (2607:f8b0:4000:814::2004): icmp_seq=3 ttl=116 time=51.9 ms
^Z


It adds 2 lines to my /etc/resolv.conf when enabled, so clearly that isn't the failure point.

Re: Unable to connect to vpn via networkmanager and openvpn

PostPosted: Jun 18th, '20, 19:09
by doktor5000
Why do you think name resolution is your problem? The name resolution works fine, duckduckgo.com is resolved to 23.21.193.169 in the first line of output.
Seems either that ICMP is blocked to IPv4 adresses locally or via the VPN provider.

Did you try anything else except ping?