doc:appunti:linux:sa:ipsec
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:sa:ipsec [2016/12/13 11:33] – [Configurazione Debian 8 Jessie] niccolo | doc:appunti:linux:sa:ipsec [2018/01/08 12:24] (current) – [Configurazione Debian 8 Jessie] niccolo | ||
|---|---|---|---|
| Line 33: | Line 33: | ||
| hash_algorithm md5; | hash_algorithm md5; | ||
| authentication_method pre_shared_key; | authentication_method pre_shared_key; | ||
| - | dh_group | + | dh_group |
| } | } | ||
| - | # Verifica l' | + | # Verifica l' |
| peers_identifier address " | peers_identifier address " | ||
| verify_identifier on; | verify_identifier on; | ||
| initial_contact on; | initial_contact on; | ||
| + | lifetime time 86400 seconds; | ||
| + | # | ||
| + | # | ||
| } | } | ||
| Line 45: | Line 48: | ||
| authentication_algorithm hmac_md5, | authentication_algorithm hmac_md5, | ||
| compression_algorithm deflate; | compression_algorithm deflate; | ||
| + | lifetime time 43200 seconds; | ||
| } | } | ||
| </ | </ | ||
| + | **NOTA**: Se non si usa l' | ||
| **/ | **/ | ||
| Line 64: | Line 69: | ||
| systemctl start racoon | systemctl start racoon | ||
| </ | </ | ||
| + | |||
| + | Il traffico IPSEC va ovviamente gestito in maniera opportuna poiché non corrisponde al criterio standard MASQUERADE di iptables. Ad esempio [[# | ||
| In generale si potrà testare la VPN con un ping, a patto di usare gli indirizzi IP sul lato LAN: | In generale si potrà testare la VPN con un ping, a patto di usare gli indirizzi IP sul lato LAN: | ||
doc/appunti/linux/sa/ipsec.1481625233.txt.gz · Last modified: by niccolo
