<div dir="ltr"><p style="margin:0px">The problem is that when connected to VPN via Network Manager</p><p style="margin:0px">a) I can't access the resources of the remote local network;<br></p><p style="margin:0px">b) the traffic does not get tunneled over VPN routes.</p><p style="margin:0px"><br></p><p style="margin:0px">This problem doesn't appear when connected via sudo openvpn</p><p style="margin:0px"><br></p><p style="margin:0px">Here are (anonymised) contents of the .nmconnection file for my VPN connection in /etc/NetworkManager/system-connections<br><br>[connection]<br>id=korolev<br>uuid=ANONYMISED-UUID<br>type=vpn<br>autoconnect=false<br><br>[vpn]<br>auth=SHA256<br>ca=/home/eugrus/.cert/nm-openvpn/korolev-ca.pem<br>cert=/home/eugrus/.cert/nm-openvpn/korolev-cert.pem<br>cert-pass-flags=0<br>cipher=AES-128-GCM<br>connection-type=tls<br>dev=tun<br>key=/home/eugrus/.cert/nm-openvpn/korolev-key.pem<br>remote=ANONYMISED.IP:1194<br>remote-cert-tls=server<br>tls-cipher=TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256<br>tls-crypt=/home/eugrus/.cert/nm-openvpn/korolev-tls-crypt.pem<br>tls-version-min=1.2<br>verify-x509-name=name:server_ANONYMISED<br>service-type=org.freedesktop.NetworkManager.openvpn<br><br>[ipv4]<br>may-fail=false<br>method=auto<br><br>[ipv6]<br>addr-gen-mode=stable-privacy<br>may-fail=false<br>method=auto<br><br>[proxy]<br></p><p style="margin:0px"><br></p><p style="margin:0px">On Sun, 17 Mar 2024 18:27:58 +0100 Michael Biebl <<a href="mailto:biebl@debian.org">biebl@debian.org</a>> wrote:</p>
<p style="margin:0px">> Control: tags -1 + moreinfo</p>
<p style="margin:0px">> </p>
<p style="margin:0px">> Where exactly is the problem?</p>
<p style="margin:0px">> Please highlight it explicitly.</p>
<p style="margin:0px">> Please also share your NM configuration for the openvpn connection.</p>
<p style="margin:0px">> </p></div>