Changing IP address

Hey guys,

As I understand, Pritunl’s ip’s for it’s VPN users are static by default, and there is no way to change it to be dynamic.

For context, I have multiple devices setting enabled, as I need to access some servers while away from my servers.

I have also noticed that for some devices, upon a disconnect and reconnect, some profiles get reassignned back the same static ip address, which is the expected behaviour. But for others, the VPN IP gets rotated to something else from the pool, and I’ve got to stop the pritunl-client, and start it up again for it to be assigned it’s original IP address.

I suspect that for some of these devices, the server is still holding onto the ip address, and so when the device reconnects, the original ip isn’t free, and so it gets issued a new IP address, until I reset the connection.

Question is, is there anyway to ensure that upon reconnects, that the originnal IP address remains the static (original) IP address?

Thank you!
Zac

All users who are in an organization attached to a server are assigned one static address from the VPN virtual network even if the user never connects. This includes users who are attached to the server but with user groups are prevented from connecting, these users still reserve an address because this access control can change at connection time.

If multiple devices are enabled and a user connects additional devices those addresses are temporary. There are some cases when multiple devices is enabled where a reconnection can cause the address to change to dynamic. The connections can take 1-2 minutes after disconnection to end so server attempts to match different client parameters to determine if the device connecting is the same device that is already connected if this matches it forces a disconnect from the previous device connection and assigns the same address. If this doesn’t match it will keep that connection open and assign a new IP.

The only way to always get a static address is to disable multiple devices for that server. This will always force a disconnection of the existing connections and assign the same static address.