Monitoring Libreswan IPsec VPN tunnel
Posted: Sun Feb 10, 2019 12:55 pm
Hi,
I am running Libreswan IPsec VPN tunnel and the details are as below
Is there a way to check if the IPsec tunnel is working or not?
Also how do i monitor IP and port for network connectivity? For example
Best Regards,
Kaushal
I am running Libreswan IPsec VPN tunnel and the details are as below
Code: Select all
ipsec --version
Linux Libreswan 3.27 (netkey) on 3.10.0-957.5.1.el7.centos.plus.x86_64
ipsec whack --trafficstatus
006 #4: "primary", type=ESP, add_time=1549763990, inBytes=5703, outBytes=2750, id='128.65.31.14'
006 #3: "secondary", type=ESP, add_time=1549763990, inBytes=656, outBytes=864, id='128.65.31.15'
Also how do i monitor IP and port for network connectivity? For example
Code: Select all
#nc -v 192.168.1.10 5643
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connected to 192.168.1.10:5643.
Kaushal