IPSec Strongswan mit Linux Beispiel: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „== Installation == * '''apt update''' * '''apt install strongswan strongswan-swanctl''' == Voraussetzungen == * Beide Systeme: Linux mit strongSwan und VICI-Un…“)
 
Zeile 10: Zeile 10:
 
! Einstellung !! links !! rechts
 
! Einstellung !! links !! rechts
 
|-
 
|-
| '''IP Address''' || 192.168.16.193 || 192.168.16.194
+
| '''IP Address''' || 192.168.5.193 || 192.168.5.194
 
|-
 
|-
 
| '''Internes Netz''' || 172.26.193.0/24|| 172.26.194.0/24
 
| '''Internes Netz''' || 172.26.193.0/24|| 172.26.194.0/24

Version vom 3. August 2026, 08:52 Uhr

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
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