- CheckMates
- :
- Products
- :
- Quantum
- :
- Remote Access VPN
- :
- Re: VPN users query
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
VPN users query
Hello,
While ago CP support showed me how to write a short query in "SmartConsole -> Logs and Monitor" to identify currently connected VPN users. It was pretty simple query, but unfortunately, I do not remember syntax.
It can be done in SmartEvent now, but I am wondering if someone can help me write this short query w/o SmartEvent blade.
Thank you,
Vlad.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Vlad,
Running the following commands on the VPN gateway, this has worked for me for collecting a list of currently connect VPN users, and we do not have the Mobile blade turned on.
# vpn tu tlist | grep User
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
listusers (checkpoint.com)
listusers
Description
Shows a list of end-users connected to the Mobile Access Gateway, along with their source IP addresses.
Syntax
|
Example
[Expert@MyGW:0]# listusers ------------------------------ UserName | IP ------------------------------ Tom , 192.168.0.51 John , 192.168.0.130 Jane , 192.168.0.7 [Expert@MyGW:0]# |
I hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I attempted run this command on the GW, but it did not bring any results. The SmartEvent shows a few SecuRemote connected.
I attached the screenshot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi KlowikiOne,
I applied this command on the Gateway. We do not have a separate Mobile blade. Does listusers must be run on the Mobile blade?
Thank you,
Vlad.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Vladimer,
Are you looking for users that are connected to your Check Point gateway? If so, we use office mode and can pull this data using the "fw tab -t om_assigned_ips -u -f" command. It may be overkill for what you want/need though.
Jerry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Vlad,
Running the following commands on the VPN gateway, this has worked for me for collecting a list of currently connect VPN users, and we do not have the Mobile blade turned on.
# vpn tu tlist | grep User
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Sean. The commands works. Does this command have timestamp switch?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
#vpn tu tlist | grep <User> -B 4 | grep -E "<User>|Authenticated"
#vpn tu tlist -c ra_nat_t
#vpn tu tlist -h
