IPSec Strongswan mit Linux Beispiel
Installation
- apt update
- apt install strongswan strongswan-swanctl
Voraussetzungen
- Beide Systeme: Linux mit strongSwan und VICI-Unterstützung (swanctl)
- Nur VICI (swanctl), keine ipsec.conf oder ipsec.secrets
- XX eigene Seite, gegenüberliegende Seite YY
Szenario
| Einstellung | links | rechts |
|---|---|---|
| VPN-GW-IP Address | 192.168.5.193 | 192.168.5.194 |
| Internes Netz | 172.26.193.0/24 | 172.26.194.0/24 |
| Pre-Shared Key (PSK) | 123Start$ | |
| Phase 1 | AES256 – SHA256 – DH16 | |
| Phase 2 | AES256 – SHA256 – DH16 | |