IPsec Flashcards
(8 cards)
List IPsec Tunnels Command and show tunnel details
diagnose vpn tunnel list
get vpn ipsec tunnel details | summary
get ipsec tunnel list
get vpn ipsec stats tunnel
Ike Gateway commands
diagnose vpn ike gateway list
gateway clear (name): closes phase 1 selector. Can leave name blank to clear ALL phase 1s in the VDOM
IKE Real-Time Debug
diagnose debug application ike (bitmask)
diagnose debug enable
Bitmask:
most common is -1 to enable all outputs.
should also enable timestamp:
diagnose debug console timestamp enable
T or F: For IPsec, offloading is enabled by default
True
NPU
NPU Offloading flags for IPsec
npu_flag=
00 - Both IPsec SAs loaded to the Kernel
01 - Outbound offloaded
02 - Inbound offloaded
03 - both in/out are offloaded
20 - Unsupported, cannot be offloaded
What is traffic called when it has to travel through an IPsec tunnel?
Interesting
This is what triggers the VPN negotiation
Capturing IKE Traffic
No NAT:
IKE - UDP port 500
ESP - IP protocol 50
With NAT:
initially UDP port 500 and then UDP 4500 once NAT is detected
ESP is encapsulated in UDP port 4500
configurable port via CLI
config system settings
set ike-port (1024-65535)
end
Common IPsec Problems and tactics
Tunnel not coming up? Real Time debug
Tunnel unstable? DPD packets
Tunnel is up but traffic not passing through? Debug flow