-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get current IPsec vpn numbers #94
Comments
Hi, There is actually no cmdlet for monitoring info but you can try PS > (Invoke-FGTRestMethod api/v2/monitor/vpn/ipsec).results but not sure if there is all info (i can't try, i don't have dial up IPsec VPN) FYI for VPN SSL, there is info : PS > (Invoke-FGTRestMethod api/v2/monitor/vpn/ssl/stats).results
conserve_mode max current
------------- --- -------
False @{users=4; tunnels=4; connections=17} @{users=3; tunnels=3; connections=3}
PS > (Invoke-FGTRestMethod api/v2/monitor/vpn/ssl).results
index : 0
user_name : alagoutte
remote_host : 192.2.0.1
last_login_time : Thu Mar 26 16:31:10 2020
last_login_timestamp : 1585236670
subsessions : {@{index=1; parent_index=0; mode=Tunnel; type=Unknown; aip=10.200.250.1; in_bytes=121297;
out_bytes=176457; desthost=}}
subsession_type : Unknown
subsession_desc : aip:10.200.250.1
index : 1
user_name : user1
remote_host : 192.2.0.2
last_login_time : Thu Mar 26 18:33:30 2020
last_login_timestamp : 1585244010
subsessions : {@{index=2; parent_index=1; mode=Tunnel; type=Unknown; aip=10.200.250.2; in_bytes=264932;
out_bytes=162526; desthost=}}
subsession_type : Unknown
subsession_desc : aip:10.200.250.2
index : 2
user_name : user3
remote_host : 192.2.0.3
last_login_time : Thu Mar 26 19:34:58 2020
last_login_timestamp : 1585247698
subsessions : {@{index=3; parent_index=2; mode=Tunnel; type=Unknown; aip=10.200.250.3; in_bytes=42305;
out_bytes=88058; desthost=}}
subsession_type : Unknown
subsession_desc : aip:10.200.250.3 |
Hi, You can use this: Simply change the name of your VPN DialUp! |
Also, If you want stats, you can remove the ".count" at the end of the command:
|
Is there a way to pull the number of current dial up IPSec VPN users using this powershell module?
The text was updated successfully, but these errors were encountered: