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

How Can the Gateway Automatically Release IP Addresses Assigned to VPN Users?

Is anyone else experiencing the same issue as I am?

Specifically, I currently have a Remote Access VPN configuration with a license capacity of 55 concurrent connections.

Initially, I assumed that the number of concurrent connections could be monitored through the Active Tunnels tab in SmartConsole. However, after checking with Check Point TAC, I found out that this is not how license consumption is calculated.

According to TAC's explanation:

  1. Each connected Remote Access VPN user consumes one license.

  2. The license remains consumed as long as the user's Office Mode IP remains allocated in the IP assignment table.

  3. Even if a user disconnects, the license may still be considered in use if their Office Mode IP has not yet been released from the assignment table, for example, because the lease duration has not expired.

  4. Therefore, the maximum number of Office Mode IPs that can be assigned at any given time is limited by the number of available Remote Access VPN licenses.

We have to check the number of allocated Office Mode IPs using the following command:

fw tab -t om_assigned_ips -s

If the IP assignment table reaches its limit, we currently have to clear it using:

fw tab -t om_assigned_ips -x

My question is: Is there any way to configure the Security Gateway to automatically release an Office Mode IP as soon as it detects that the corresponding VPN user has disconnected, rather than keeping the IP allocated until the lease duration expires?

I would appreciate any advice or recommendations from anyone who has encountered the same issue.

0 Kudos
1 Reply
Bernardes
Advisor
Advisor

Hi Johnny,

the lease behavior you describe matches the R82 Remote Access VPN Admin Guide. The Office Mode IP is held until the lease expires, and the client renews at half of the lease time. Default is 15 minutes with IP Pool; with DHCP it's whatever your DHCP server defines.

To reduce it: Gateway object > VPN Clients > Office Mode > Optional Parameters > IP lease duration, then install policy. On a cluster, set it on each Cluster Member object (VPN tab).

Keep in mind that a very short lease forces more frequent renewals. I'd lower it gradually and monitor with fw tab -t om_assigned_ips -s. I'd avoid clearing the table manually in production, since active users may be affected. If you are constantly near the 55 limit, it's worth reviewing license sizing.

Ref: R82 Remote Access VPN Admin Guide – Office Mode; sk122537

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events