Pritunl v1.32.4173.66

Pritunl v1.32.4173.66 has been released. This release allows changing some server settings without stopping the server. Currently this includes the replication count, force connect, geo sorting, block outside DNS and pre connection message. The internal Python libraries and bundled Python build were also updated.

Hi, @zach !
What server settings can be changed while server is running?

And maybe you can explain how geo sort host selection works?

The replication count, force connect, geo sorting, block outside DNS and pre connection message are currently the only options that can be changed while a server is running. The geo sort host selection enables the client to send a request to the Pritunl app servers with the clients detected public address then a list of all the IP addresses for the hosts on the Pritunl server. The app server will use the MaxMind country IP database to get the country of each IP and then use the Haversine formula to calculate the shortest distance with the coordinates for each country. It will return this sorted list of hosts and the client will try connecting to the host with the shortest distance first. This process can add several seconds to the connection process specifically when hostnames are used instead of IP addresses because the client will have to do a DNS lookup for each hostname. Currently it only processes IPv4 addresses, IPv6 addresses or addresses that can’t be located will be appended to the end.

1 Like

Hi, @zach
Is there a possibility that in the future it will be possible to add routes without having to stop the VPN server? This would greatly simplify support for highly loaded instances.

1 Like

That may be added in a future release but it isn’t planned currently.