Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Vladimir_S
Contributor
Jump to solution

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.

 

 

 

0 Kudos
1 Solution

Accepted Solutions
Sean_OConnor
Explorer

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

View solution in original post

(1)
8 Replies
KlowikiOne
Employee
Employee

listusers (checkpoint.com)

listusers

Description

Shows a list of end-users connected to the Mobile Access Gateway, along with their source IP addresses.

Syntax

listusers

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.

0 Kudos
Vladimir_S
Contributor

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.

 

 

 

 

0 Kudos
Vladimir_S
Contributor

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.

0 Kudos
Jerry_Eblin
Participant

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

0 Kudos
Danny
Champion Champion
Champion
0 Kudos
Sean_OConnor
Explorer

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

(1)
Vladimir_S
Contributor

Thank you Sean. The commands works. Does this command have timestamp switch?

 

 

0 Kudos
Zolo
Contributor
Contributor

#vpn tu tlist | grep <User> -B 4 | grep -E "<User>|Authenticated"

#vpn tu tlist -c ra_nat_t

#vpn tu tlist -h

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events