Reply
Highlighted
Emerging Member
Posts: 43
Registered: ‎06-16-2014
Kudos: 8
Solutions: 3

Q: USG - VPN Login Log report

Hi,  I have done a bit of digging but have trouble finding if there is a way to do this.

 

I have inherited a client site who use USG for their office firewall; they use PPTP and L2TP  based "Road Warrior" VPN connection to the office for some staff to allow remote work for team.

 

I am being asked if I can generate a report from the VPN server / so that it can be easily reviewed, who logs in when / how often.

 

possible scenario,

- have logs sent to a place that is easy to search

- have logs in plaintext on the on-premise unifi controller server? then I build a small script to harvest / grep out entries of interest, and send out report nightly via email

 

so far I had a look in web UI, and in the back-end logs. I can't see indication that 'user login events' are logged.

 

I was able to see in the webUI, when someone was actively logged in / and for how long - but that was about it.

 

Just curious if there is any way to get at this info.

 

Thanks!

Tim

New Member
Posts: 3
Registered: ‎03-11-2018

Re: Q: USG - VPN Login Log report

Hi There,

 

I too need reporting on VPN users over the USG, have you come right with this? 

 

Please let me know; pierrie@thebestitguys.com

Emerging Member
Posts: 43
Registered: ‎06-16-2014
Kudos: 8
Solutions: 3

Re: Q: USG - VPN Login Log report

Hi,  glad to hear I'm not the only one curious about this :-)

 

I did find a thread and was able to get a tiny bit of text log CLI based access info on this, as per discussion at

 

https://community.ubnt.com/t5/UniFi-Routing-Switching/VPN-Logs/m-p/2223597/highlight/true#M75484

 

I believe.

 

ie, you can see when someone connected and disconnected.  The log is not super pretty but it is adequate as a starting point to at least know when a user was in via VPN.

 

My notes are not 100% complete, so I am partially going from memory here about my findings. I just had this link above saved in my notes for when I looked at this.

 

Tim

New Member
Posts: 3
Registered: ‎03-11-2018

Re: Q: USG - VPN Login Log report

 Hi there Tim,

 

So glad you are still available! see you posted back in 2014.

 

I will look into this, it might work. Will test it in a live environment. Guessing you are done with the project? 

 

Thanks for the assisitance. 

New Member
Posts: 3
Registered: ‎03-11-2018

Re: Q: USG - VPN Login Log report

nope, see you are a member since 2014 and post is very recent, oops... but thanks anyways, please keep me updated as you progress.
Reply