<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Show VPN Users - One-liner in Scripts</title>
    <link>https://community.checkpoint.com/t5/Scripts/Show-VPN-Users-One-liner/m-p/282566#M1565</link>
    <description>&lt;P&gt;Great Tool!&lt;/P&gt;&lt;P&gt;But in my experience, it shows users who have already disconnected, even though querying the kernel table of assigned IP addresses with `fw tab -t om_assigned_ips -f` reveals that the user is no longer present and holds no IP address. Is there any tool—other than the command mentioned above—that shows Remote Access users (i.e., who is currently logged in) in real time?&lt;/P&gt;</description>
    <pubDate>Mon, 21 Sep 2026 13:33:27 GMT</pubDate>
    <dc:creator>archie</dc:creator>
    <dc:date>2026-09-21T13:33:27Z</dc:date>
    <item>
      <title>Show VPN Users - One-liner</title>
      <link>https://community.checkpoint.com/t5/Scripts/Show-VPN-Users-One-liner/m-p/134011#M890</link>
      <description>&lt;DIV class=""&gt;
&lt;P style="text-align: center;"&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&amp;nbsp;Available as &lt;A href="https://community.checkpoint.com/t5/SmartConsole-Extensions/Show-VPN-Users/m-p/131493#M200" target="_self"&gt;SmartConsole Extension&lt;/A&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":bar_chart:"&gt;📊&lt;/span&gt;&amp;nbsp;Also available:&amp;nbsp;&lt;A href="https://community.checkpoint.com/t5/Scripts/Remote-Access-VPN-Statistics-One-liner/m-p/79047/highlight/true#M624" target="_self"&gt;&lt;SPAN&gt;Remote Access VPN Statistics&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;One-liner (Bash) to show all VPN users connected to a VPN gateway.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;fw tab -t userc_users -f -u 2&amp;gt;/dev/null|tr ",;" "\n"|egrep "UserName|ConnectTime|SRAddress|Schema"|tr -d "\n"|sed "s/UserName/User/g; s/SRAddress:[[:space:]]/\n/g; s/Schema:/Type:/g; s/IKE/Endpoint Connect;/g; s/SSL/SSL Network Extender/g; s/([0-9])//g; s/CN=//g"|awk '{ print $0 " &amp;gt;",(strftime("%c",$NF))}'|tr -s ' '|sed "1d";cvpnd_admin license all 2&amp;gt;/dev/null|grep "User Name"|sed "s/^.*User Name/User/g"|awk 'BEGIN{FS="|"} {print $2 " Type: Mobile Access " $1" ConnectTime: 0"$3}'|sed "s/Session Expiration Time In Minutes/Expires/g"|sed "s/^ *//"|more&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;Integrated with our &lt;STRONG&gt;&lt;A href="https://community.checkpoint.com/docs/DOC-2214-common-check-point-commands-ccc" target="_blank" rel="noopener"&gt;ccc script&lt;/A&gt;&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 Feb 2026 23:05:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Show-VPN-Users-One-liner/m-p/134011#M890</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2026-02-10T23:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Show VPN Users - One-liner</title>
      <link>https://community.checkpoint.com/t5/Scripts/Show-VPN-Users-One-liner/m-p/282566#M1565</link>
      <description>&lt;P&gt;Great Tool!&lt;/P&gt;&lt;P&gt;But in my experience, it shows users who have already disconnected, even though querying the kernel table of assigned IP addresses with `fw tab -t om_assigned_ips -f` reveals that the user is no longer present and holds no IP address. Is there any tool—other than the command mentioned above—that shows Remote Access users (i.e., who is currently logged in) in real time?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2026 13:33:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Scripts/Show-VPN-Users-One-liner/m-p/282566#M1565</guid>
      <dc:creator>archie</dc:creator>
      <dc:date>2026-09-21T13:33:27Z</dc:date>
    </item>
  </channel>
</rss>

