Unable to connect to IPsec VPN after running Dev Container

Hello,

i am using latest Manjaro Linux with Gnome Desktop and PhpStorm. I have also configured some Dev Container and they working also fine (running the IDE in Remote Mode). 

When i work from home i need also VPN. The connection is configured in NetworkManager and its usually working fine.

But running a Dev Containers will break my already established VPN connection and i am not able to reconnect anymore, even not after stopping the IDE/Dev Container! The connection to VPN Server timed out (UDP port 500). 

I have to restart my whole PC to reconnect VPN successfully. I am actually have absolutely no idea what's wrong here, so i have checked the the network setting before and after running the Dev Container.


What i have checked so far:

  • restart docker.service and NetworkManager.service → don't help, can't still reconnect
  • Kill Gnome and start a new Gnome Shell or Logoff/Login User →  don't help, can't still reconnect
  • routing table ("ip route show") is the same like before, no changes
  • Ethernet adapters and bridges ("ip a") are the same like before, no changes
  • package filter ("iptables -L") are the same like before, no changes

Could anybody help me to find the problem?

0
1 comment

Update:

The VPN connection will be lost because the pppd (Point-to-Point Protocol daemon) are stopped and the tunnel device are removed. I don't know why! The ppp0 device is not part of any bridge. Maybe it is a docker or kernel problem. 

Workaround: Disconnect VPN, start Dev Container, connect VPN again. 

NetworkManager[122408]: xl2tpd[122408]: Maximum retries exceeded for tunnel 50249.  Closing.
NetworkManager[122408]: xl2tpd[122408]: Terminating pppd: sending TERM signal to pid 122409
NetworkManager[122408]: xl2tpd[122408]: Connection 18301 closed to x.x.x.x, port 1701 (Timeout)
pppd[122409]: Terminating on signal 15

PS: the reason why i cant reconnect immediately is a security setting on our VPN Server.

0

Please sign in to leave a comment.