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

One-liner to show VPN S2S tunnels on gateway

Danny
Champion
Champion

ℹ️ Will be released as SmartConsole extension soon.

One-liner (Bash) to show IPsec VPN site-to-site tunnels on Check Point security gateways.
In expert mode run:


    echo;_vpn=1;if [[ -f /bin/enabled_blades ]];then if [[ `enabled_blades|tr 'A-Z' 'a-z'` != *'vpn'* ]];then _vpn=0;fi;elif [[ -f /opt/fw1/conf/active_blades.txt ]];then if [[ `grep VPN-S2S /opt/fw1/conf/active_blades.txt|awk '{print $NF}'` != '1' ]];then _vpn=0;fi;elif [[ -f /opt/fw1/conf/blades.json ]];then i
...;
TO ACCESS CHECKMATES TOOLBOX it's simple and free

Disclaimer: Check Point does not provide maintenance services or technical or customer support for third party content provided on this Site, including in CheckMates Toolbox. See also our Third Party Software Disclaimer.




(2)
13 Replies

the_rock
Champion
Champion

Will try it tomorrow and provide feedback ; - )

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

the_rock
Champion
Champion

Very good, works well!

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

Dennis_M
Participant

Finally. Have been waiting so long for a much simpler method to check the VPN tunnels and here it is.

Works great, thanks! 🙂

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


ptuttle_2
Contributor

This AWESOME !!! Thanks Very Much.  Works Great.  I clicked Kudos 50 + times but only went up one - 😊

 

-pat

 

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos
(1)

Joshua
Contributor

This is very useful. A great addition to the power house that is the ccc-script. Just wow!

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

mombro
Explorer

Great! Looking forward to the smart console extension 🙂

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

Friedrich_Taatz
Explorer

Awesome!

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

Ziegelsambach
Contributor

Good Job ^^

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

danjue
Explorer

Thanks!

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

Thomas_Eichelbu
Advisor

Wow holy cow ... cool stuff!!!

cannot believe we had to wait since 1993 for such a cool CLI command for a nice overview of vpn tunnels!
Awesome stuff!


;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


jannag
Participant

Awesome Job!

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

Yannic_Schmitt
Explorer

Awesome tool, works great!

Thank you for your contribution to the community.  😀

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos

Marcus_E
Explorer

Works like a charm. Thank you for sharing!  😊

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


0 Kudos