Project

General

Profile

Issue #3556

Auto disconnection from AZURE

Added by Greg A about 2 months ago. Updated 23 days ago.

Status:
Closed
Priority:
Normal
Category:
configuration
Affected version:
5.9.0
Resolution:
No feedback

Description

Hello,
I have setup a VPN connection from my server to azure and I have follow the Azure documentation to setup my env (https://docs.microsoft.com/fr-fr/azure/vpn-gateway/point-to-site-vpn-client-configuration-azure-cert#linux-strongswan-cli)

The connection work for a while but sudently it cut off.

My ipsec.conf file contain
conn azure
keyexchange=ikev2
type=tunnel
leftfirewall=yes
left=%any
leftauth=eap-tls
leftid=%ID
right=azuregateway-XXXX.vpn.azure.com
rightid=%azuregateway-XXXX.vpn.azure.com
rightsubnet=0.0.0.0/0
leftsourceip=%config
auto=add

When I exec the command "ipsec status azure" I obtain
Security Associations (0 up, 0 connecting):
no match

Does anyone have an idea of the problem and of the solution off course

History

#1 Updated by Tobias Brunner about 2 months ago

  • Status changed from New to Feedback

The connection work for a while but sudently it cut off.

Read the log.

#2 Updated by Greg A about 2 months ago

In the syslog, the charon entries ?

#3 Updated by Tobias Brunner about 2 months ago

In the syslog, the charon entries ?

Probably. See HelpRequests and LoggerConfiguration.

#4 Updated by Greg A about 2 months ago

I have found an error log=>

kernel: [115059.573106] audit: type=1400 audit(1599231255.189:52): apparmor="DENIED" operation="open" profile="/usr/lib/ipsec/charon" name="/proc/16506/fd/" pid=16506 comm="charon" requested_mask="r" denied_mask="r" fsuid=0 ouid=0

#5 Updated by Tobias Brunner about 2 months ago

See this bug on launchpad. It is reported fixed, though. And didn't you say that the connection works initially?

#6 Updated by Tobias Brunner 23 days ago

  • Category set to configuration
  • Status changed from Feedback to Closed
  • Assignee set to Tobias Brunner
  • Resolution set to No feedback

Also available in: Atom PDF