Una VPN Ipsec si disconnette regolarmente
Jump to navigation
Jump to search
- Mettere in debug la configurazione:
sudoedit /etc/default/racoon
RACOON_ARGS="-d -d"
- Riavviare tutto
sudo /etc/init.d/setkey restart sudo /etc/init.d/racoon restart
- Verificare tutti gli errori che appaiono:
sudo tail -f /var/log/syslog | grep 'racoon: ERROR'
May 25 12:46:57 fireuf racoon: ERROR: pfs group mismatched: my:2 peer:0 May 25 12:46:57 fireuf racoon: ERROR: not matched May 25 12:46:57 fireuf racoon: ERROR: no suitable policy found. May 25 12:46:57 fireuf racoon: ERROR: failed to pre-process packet.
- In questo caso, cancellare la riga:
sudoedit /etc/racoon/galtriv.conf
pfs_group 2;
- Riavviare tutto
sudo /etc/init.d/setkey restart sudo /etc/init.d/racoon restart