- Products
- Learn
- Local User Groups
- Partners
- More
The Great Exposure Reset
24 February 2026 @ 5pm CET / 11am EST
AI Security Masters E4:
Introducing Cyata - Securing the Agenic AI Era
AI Security Masters E3:
AI-Generated Malware
CheckMates Go:
CheckMates Fest
I know Danny Jung wrote excellent one liner while back to show remote access users stats. Here is script that shows similar info. I just tested it in the lab. If anyone is willing to give it a go themselves, would be great.
Lab example:
[Expert@CP-GW:0]# ./cp_ra_user_stats.sh
+-----------------------------------------------+----------------------------------+---------------------+
| Peer: 21.22.23.1 (e1bcb5957e63f30f) | MSA: 7f39afda6088 | i: 2 ref: -- 56/60 |
| Client public IP: 100.65.16.3 | | i: 4 ref: 5 |
| Authenticated at: Feb 21 09:17:46 | | i: 5 ref: -- 14/60 |
| Methods: ESP Tunnel 3DES SHA1 | | |
| Local TS: 0.0.0.0/0 | In Stat: 240.00 B, 1.00 Bps | |
| Remote TS: 21.22.23.1 | Out Stat: 716.00 B, 5.00 Bps | |
| User: labuser | | |
| MSPI: 2000002 (i: 4, p: 0, d: 1) | Out SPI: a8a43fe2 | |
| Tunnel created: Feb 21 09:17:46 | NAT-T | |
| Tunnel expiration: Feb 21 10:17:46 | Connected | |
+-----------------------------------------------+----------------------------------+---------------------+
(0) Site-to-Site tunnels are up:
IPsec 0
NAT-T 0
(1) Number of Active Clients:
NAT-T 1
Visitor Mode 0
SSL 0
L2TP 0
strongSwan 0
Android 0
iOS 0
---- RA client counters appear at the bottom (NAT-T / Visitor Mode / SSL / L2TP / etc.) ----
[3/3] Mobile Access connected users (listusers)
------------------------------
UserName | IP
------------------------------
Found 0 records.
^C
[Expert@CP-GW:0]#
I know Danny Jung wrote excellent one liner while back to show remote access users stats. Here is script that shows similar info. I just tested it in the lab. If anyone is willing to give it a go themselves, would be great.
Lab example:
[Expert@CP-GW:0]# ./cp_ra_user_stats.sh
+-----------------------------------------------+----------------------------------+---------------------+
| Peer: 21.22.23.1 (e1bcb5957e63f30f) | MSA: 7f39afda6088 | i: 2 ref: -- 56/60 |
| Client public
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY