0

I am using Debian on a VPS and now I need to connect it to my university vpn using OpenVPN. I have .ovpn file imported and I can see the connection in nmcli c. But when I issue nmcli c up myvpn I get Error: Connection activation failed: Could not find source connection.

What can be the issue here?

Lena Mori
  • 11
  • 1
  • 1
    Does this answer your question? [NetworkManager fails with "Could not find source connection"](https://unix.stackexchange.com/questions/438224/networkmanager-fails-with-could-not-find-source-connection) – roaima May 16 '23 at 15:44
  • @roaima unfortunately, no. I connect to the server via SSH and I can't use GUI. – Lena Mori May 16 '23 at 15:56
  • Ignore the answers that use the GUI. The remainder seem plausible – roaima May 16 '23 at 16:46
  • Don't seem to get anything useful from there.. – Lena Mori May 17 '23 at 07:25
  • Does your interface have a default gateway set, if it does not, then you encountered the same issue as the linked issue. Please provide the output of `ip r` in your question. – thecarpy Jun 14 '23 at 08:02

1 Answers1

1

I have recreated the .ovpn file and sent it to the server using powershell and SCP. Then recreated the connection and managed to set it up.

Lena Mori
  • 11
  • 1