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

"vpn tu" is not working to list tunnels on checkpoint

When we login to checkpoint via GUI, we do see the tunnel configured on checkpoint but when we ran "vpn tu" and "vpn tu tlist" command in CLI, getting no output. Can anyone please suggest command to get all configured vpn tunnel not only active ones. 

11 Replies
AaronCP
Advisor

Hey @JyotiKamble,

 

Have you tried running @Danny's VPN one liner?

the_rock
Legend
Legend

Great advice from @AaronCP , but can you send a screenshot of what you actually do get when you run commands from cli?

Andy

JyotiKamble
Explorer

Hello,

When we ran "vpn tu" command in cli we get there is 3 vpn tunnels as you can see in attached cli output image.
Using GUI we see there is 7 vpn communities out of that 2 is not used exactly as client tunnels so we can consider there is 5 tunnels we can see using GUI.
Is there any command to get all configured tunnels?

the_rock
Legend
Legend

Ok, do you see same if you run option 2 from vpn tu?

JyotiKamble
Explorer

This will just show the same number with IKE

JyotiKamble
Explorer

Not Yet
Can you please tell me how to use this one-liner?

Danny
Champion Champion
Champion

Just login to the expert mode of your VPN gateway and run the one-liner.

the_rock
Legend
Legend

As @Danny said, just basically copy the whole thing and paste into expert mode and you will see the right output.

JyotiKamble
Explorer

Hi @Rock & @Danny 

Thanks for sharing this one liner. It worked. It is showing list of all configured tunnels

One additional query.

Do you know how we can get number of configured tunnels just like we see in GUI.

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events