Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Pedro_Sentinela
Contributor

VPN LOGS

Good afternoon, I would like to know if it is possible to check the status of a vpn. For example, I would like to be checking how many times in a month a site-to-site tunnel was down. To be able to make a report.

In the logs it is possible to see the errors, but it is almost impossible to look at all the logs for this period of time that I need to analyze.

 

Can someone help me?

0 Kudos
6 Replies
Timothy_Hall
Legend Legend
Legend

Problem is the SA lifetimes dictate how long a tunnel is allowed to be up before being torn down to change keys, so just looking at key exchange messages does not mean an outage actually occurred. In addition most VPNs are brought up on demand when interesting traffic needs to use them, and if there is no traffic the tunnel can time out and appear "down" until some more interesting traffic arrives.

Only way I can think of to do this is via Permanent Tunnels which by default only work between Check Point gateways, but can be made to work with other vendor's firewalls by setting Dead Peer Detection (DPD) mode.  Assuming you set both "tunnel up" and "tunnel down" alerts you could measure the time between tunnel down and tunnel up alerts to determine total outage time, although it can take between 20-30 seconds to detect that a tunnel has fallen down and cannot get back up.  The default lifesign interval is 10 seconds with 3 failures causing a "tunnel down" condition, but these timers could be shortened I suppose.  Here is the coverage for Permanent Tunnels from my book:

pt1.pngpt2.pngpt3.pngpt4.png

 

Gateway Performance Optimization R81.20 Course
now available at maxpowerfirewalls.com
0 Kudos
(1)
Pedro_Sentinela
Contributor

 

Thanks for your response. Let me go into more detail about my case. My client is experiencing connectivity issues on their VPN. In this case, I wanted to be able to tell you which of these errors are happening in a report. But because it's an SMB I don't have access to errors via CPView.

Of course it is possible to see in the logs when a tennel or a link is down, but because it is a lot of logs as it has already been clear. I wanted to know if there is a more practical way to check these errors, as well as in CPView.

Thanks for listening.

 

Captura de tela 2022-05-11 115718.png

0 Kudos
G_W_Albrecht
Legend Legend
Legend

On SMB options are missing to Monitor VPN status, so all you can do is ping thru the GW from a internal client and record that...

CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
(1)
Pedro_Sentinela
Contributor

In fact, what I need is to collect evidence of how many times the tunnel was unavailable within 30 days.

We had some unavailability and a client asked me how many times it was unavailable and what caused this unavailability.

Could you give me any ideas on how to put together a report on this or how to gather this evidence?

thanks.

0 Kudos
Timothy_Hall
Legend Legend
Legend

Agree with Gunter here, your best option on SMB is some kind of third-party monitoring system that continuously sends traffic through the VPN tunnel every so often and records the availability statistics you need.

Gateway Performance Optimization R81.20 Course
now available at maxpowerfirewalls.com
(1)
Pedro_Sentinela
Contributor

thank you very much for everyone's attention

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events