Strongswan workshop setup: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=Schaubild= {{#drawio:strongswan-workshop-1}} =Tests= ;root@fw1:~# ping -c 3 -I 10.82.243.1 10.82.244.1 PING 10.82.244.1 (10.82.244.1) from 10.82.243.1 : 56(8…“)
 
 
(6 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
=Schaubild=
 
=Schaubild=
{{#drawio:strongswan-workshop-1}}
+
==Gesucht?==
=Tests=
+
*left = WAN Ip des eigenen Vpn Gateways
;root@fw1:~# ping -c 3 -I 10.82.243.1 10.82.244.1
+
*leftnet = eigenes LAN
PING 10.82.244.1 (10.82.244.1) from 10.82.243.1 : 56(84) bytes of data.
+
*right = WAN Ip der Partner Vpn Gateways
64 bytes from 10.82.244.1: icmp_seq=1 ttl=64 time=0.923 ms
+
*rightnet = partner LAN
64 bytes from 10.82.244.1: icmp_seq=2 ttl=64 time=0.978 ms
 
64 bytes from 10.82.244.1: icmp_seq=3 ttl=64 time=0.767 ms
 
  
--- 10.82.244.1 ping statistics ---
+
*ike Protokoll = 2
;root@fw2:~# tcpdump -ni eth0 esp
+
 
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
+
*ike - symetrisches Protokoll = aes256
listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
+
*ike - Hash Algorithmus = sha256
  08:55:33.436945 IP 10.82.227.12 > 10.82.227.22: ESP(spi=0xc4de821a,seq=0x10), length 136
+
*ike - DH Gruppe = modp4096
08:55:33.437107 IP 10.82.227.22 > 10.82.227.12: ESP(spi=0xcef198fc,seq=0x10), length 136
+
 
  08:55:34.438319 IP 10.82.227.12 > 10.82.227.22: ESP(spi=0xc4de821a,seq=0x11), length 136
+
*esp - symetrisches Protokoll = aes256
08:55:34.438501 IP 10.82.227.22 > 10.82.227.12: ESP(spi=0xcef198fc,seq=0x11), length 136
+
*esp - Hash Algorithmus = sha256
08:55:35.439782 IP 10.82.227.12 > 10.82.227.22: ESP(spi=0xc4de821a,seq=0x12), length 136
+
*esp - DH Gruppe = modp4096
08:55:35.439970 IP 10.82.227.22 > 10.82.227.12: ESP(spi=0xcef198fc,seq=0x12), length 136
+
 
 +
*psk = Muss bei beiden Partnern gleich sein
 +
 
 +
 
 +
{{#drawio:strongswan-workshop-2}}

Aktuelle Version vom 25. September 2022, 10:50 Uhr

Schaubild

Gesucht?

  • left = WAN Ip des eigenen Vpn Gateways
  • leftnet = eigenes LAN
  • right = WAN Ip der Partner Vpn Gateways
  • rightnet = partner LAN
  • ike Protokoll = 2
  • ike - symetrisches Protokoll = aes256
  • ike - Hash Algorithmus = sha256
  • ike - DH Gruppe = modp4096
  • esp - symetrisches Protokoll = aes256
  • esp - Hash Algorithmus = sha256
  • esp - DH Gruppe = modp4096
  • psk = Muss bei beiden Partnern gleich sein