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

Verify the Admin IP | Session Details !

Jump to solution

Hi Friends,

I want to know  the command  like to verify the IP of the system or platform from where I have login (ssh) the checkpoint gateway (R77.30 / R80 ) .

Something like session login details etc.

 

Regards,

Jaspal Singh

Tags (1)
0 Kudos
2 Solutions

Accepted Solutions
Highlighted

Re: Verify the Admin IP | Session Details !

Jump to solution

If the login name you were using is admin for example, to see admin's login history including source IP use the command last admin from expert mode.  You can also just run last by itself to see login history for all accounts.

 

Book "Max Power 2020: Check Point Firewall Performance Optimization" Third Edition
Now Available at www.maxpowerfirewalls.com

View solution in original post

Highlighted
Pearl

Re: Verify the Admin IP | Session Details !

Jump to solution
last -20 -w
last -20 -i

View solution in original post

7 Replies
Highlighted

Re: Verify the Admin IP | Session Details !

Jump to solution

If the login name you were using is admin for example, to see admin's login history including source IP use the command last admin from expert mode.  You can also just run last by itself to see login history for all accounts.

 

Book "Max Power 2020: Check Point Firewall Performance Optimization" Third Edition
Now Available at www.maxpowerfirewalls.com

View solution in original post

Highlighted

Re: Verify the Admin IP | Session Details !

Jump to solution

Thanks for the quick response, it works.

But now there is another point came into picture.

In the output, I am getting names instead of IP.

Can we convert it into IP ?

admin    pts/2        reigate_citrix_n Fri Mar 29 12:07   still logged in
admin    pts/2        reigate_citrix_n Fri Mar 29 07:48 - 08:03  (00:15)

0 Kudos
Highlighted

Re: Verify the Admin IP | Session Details !

Jump to solution

Try last -d

 

Book "Max Power 2020: Check Point Firewall Performance Optimization" Third Edition
Now Available at www.maxpowerfirewalls.com
0 Kudos
Highlighted

Re: Verify the Admin IP | Session Details !

Jump to solution
last -20 -i worked
0 Kudos
Highlighted
Pearl

Re: Verify the Admin IP | Session Details !

Jump to solution
last -20 -w
last -20 -i

View solution in original post

Highlighted

Re: Verify the Admin IP | Session Details !

Jump to solution

last -20 -i worked

thanks for the solution. 🙂

 

0 Kudos
Highlighted
Pearl

Re: Verify the Admin IP | Session Details !

Jump to solution

I also added these commands to our ccc script.