- Products
- Learn
- Local User Groups
- Partners
- More
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
Watch NowOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
I am looking for a way to view all VPN users who are currently connected. I need to see their IP, internal IP, as well as username.
I am able to get this information with the following command: vpn tu list tunnels
My question is what is the API equivalent to this? I have been looking through the documentation and could not get any meaningful data returned that is similar to the data that returns with the CLI command above. Any assistance is greatly appreciated.
There are no API commands for this information that I am aware of.
However, you can use the run-script API with the relevant commands and get the same data.
There are no API commands for this information that I am aware of.
However, you can use the run-script API with the relevant commands and get the same data.
Thank you. As a follow-up, I've got an API key generated with read-only permissions. We are trying to execute the run-script API against the management with a target of the gateway and receive a no permissions to run action. Any ideas to point us in the right direction?
We also tried to run the API against the gateway and receive access denied even when trying to generate a session token.
Read only users cannot use run-script.
I checked api guide and cant find anything similar to what you are asking. The closest I had seen is script made by @Danny below.
Andy
https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/td-p/79047
https://community.checkpoint.com/t5/Scripts/Show-VPN-Users-One-liner/m-p/134011#M890
I use this command on the active gateway...
fw tab -t userc_users -u -f > users.csv
This will generate a csv file which I then open in Excel to format it if needed. Hope it helps.
Someone from TAC gave me that while ago, its very good command indeed.
Andy
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 4 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
Tue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY