You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Auto-find and switch to the fastest ProtonVPN server
#3532
Made a small side project, gluetun-best-vpn-seeker: it speed-tests ProtonVPN servers through Gluetun and auto-switches to the best one, with a simple endpoint to kick it off. If that sounds useful, check it out here — feedback welcome!).
TL;DR:
This project is an automated Docker-based system that dynamically finds the fastest ProtonVPN server for your Gluetun setup. It works by iterating through a list of servers, ranking them by load and score, and running real-world download speed tests (≥ 20 Mbps) inside a decoupled target environment. A custom Gluetun image watches for config changes and restarts the VPN automatically. The controller exposes two API endpoints: GET /best-server to run the full search and deploy the absolute best server, and POST /prepare-vpn-server to rotate to the next best server from an in-memory queue. Successful servers are kept only in RAM, so restarting the controller clears the queue. The system also performs automated DNS leak tests and logs your assigned IP, location, and ISP.
Ultimately, this is basically a template showcase you can adapt to whatever project you want—swap in your own target service, test logic, and deployment flow.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Made a small side project, gluetun-best-vpn-seeker: it speed-tests ProtonVPN servers through Gluetun and auto-switches to the best one, with a simple endpoint to kick it off. If that sounds useful, check it out here — feedback welcome!).
TL;DR:
This project is an automated Docker-based system that dynamically finds the fastest ProtonVPN server for your Gluetun setup. It works by iterating through a list of servers, ranking them by load and score, and running real-world download speed tests (≥ 20 Mbps) inside a decoupled target environment. A custom Gluetun image watches for config changes and restarts the VPN automatically. The controller exposes two API endpoints: GET /best-server to run the full search and deploy the absolute best server, and POST /prepare-vpn-server to rotate to the next best server from an in-memory queue. Successful servers are kept only in RAM, so restarting the controller clears the queue. The system also performs automated DNS leak tests and logs your assigned IP, location, and ISP.
Ultimately, this is basically a template showcase you can adapt to whatever project you want—swap in your own target service, test logic, and deployment flow.
All reactions