User Tools

Site Tools


doc:appunti:linux:sa:ipsec_strongswan_debian_debug

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:linux:sa:ipsec_strongswan_debian_debug [2026/11/23 12:55] – niccolodoc:appunti:linux:sa:ipsec_strongswan_debian_debug [2026/11/23 15:58] (current) – niccolo
Line 1: Line 1:
 ====== Debug IPSEC su Debian ====== ====== Debug IPSEC su Debian ======
 +
 +La configurazione in esame è su una **Debian 9.13** con i seguenti pacchetti:
 +
 +  * **strongswan** 5.5.1
 +  * **strongswan-starter** 5.5.1
 +  * **strongswan-charon** 5.5.1
 +
 +:!: Il servizio **systemd** che gestisce la connessione dipende dalla versione Debian:
 +
 +  * **strongswan.service** per **Debian 9** e **Debian 10**.
 +  * **strongswan-starter.service** per **Debian 11** e successive.
  
 Questa la configurazione nel file **/etc/ipsec.d/local-remote.conf**: Questa la configurazione nel file **/etc/ipsec.d/local-remote.conf**:
Line 42: Line 53:
  
 <code> <code>
- local-remote{3}:  INSTALLED, TUNNEL, reqid 3, ESP SPIs: c98cdde3_i 2136623a_o+ local-remote{1}:  INSTALLED, TUNNEL, reqid 1, ESP SPIs: cc577459_i c5f38819_o
 </code> </code>
  
Line 52: Line 63:
 </file> </file>
  
-<code>+<code bash> 
 +# Per Debian 9 e Debian 10 il servizio è strongswan.service. 
 +# Per Debian 11 e successive il servizio è strongswan-starter.service.
 systemctl restart strongswan.service systemctl restart strongswan.service
 </code> </code>
doc/appunti/linux/sa/ipsec_strongswan_debian_debug.1795434933.txt.gz · Last modified: by niccolo