Community discussions

MikroTik App
 
jaxed8
Member Candidate
Member Candidate
Topic Author
Posts: 195
Joined: Tue Jul 27, 2021 8:25 pm

Auto speed test for multi VPN

Sat Sep 25, 2021 1:15 pm

Hello everyone
I'm looking for a script that can check the speed and ping of different multiple VPN clients every half an hour or so (maybe with multiple speedtest server) and select the one that has the most speed and lowest ping and change it automatically. If such a thing is possible.
I will appreciate any help
 
jaxed8
Member Candidate
Member Candidate
Topic Author
Posts: 195
Joined: Tue Jul 27, 2021 8:25 pm

Re: Auto speed test for multi VPN

Sun Sep 26, 2021 11:41 pm

Any idea?
 
jaxed8
Member Candidate
Member Candidate
Topic Author
Posts: 195
Joined: Tue Jul 27, 2021 8:25 pm

Re: Auto speed test for multi VPN

Fri Oct 08, 2021 11:18 pm

Any idea?
 
ConnyMercier
Forum Veteran
Forum Veteran
Posts: 723
Joined: Tue Dec 17, 2019 1:08 pm

Re: Auto speed test for multi VPN

Sat Oct 09, 2021 12:54 am

What kind of VPN are you using ?
 
holvoetn
Forum Guru
Forum Guru
Posts: 5326
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Auto speed test for multi VPN

Sat Oct 09, 2021 4:52 pm

"Searched and thou shalt find"

viewtopic.php?t=140887
 
jaxed8
Member Candidate
Member Candidate
Topic Author
Posts: 195
Joined: Tue Jul 27, 2021 8:25 pm

Re: Auto speed test for multi VPN

Wed Oct 27, 2021 9:35 pm

What kind of VPN are you using ?
PPTP - L2TP
 
jaxed8
Member Candidate
Member Candidate
Topic Author
Posts: 195
Joined: Tue Jul 27, 2021 8:25 pm

Re: Auto speed test for multi VPN

Wed Oct 27, 2021 9:36 pm

"Searched and thou shalt find"

viewtopic.php?t=140887
Thank you, how can it be modified to use for vpn?
 
holvoetn
Forum Guru
Forum Guru
Posts: 5326
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Auto speed test for multi VPN

Wed Oct 27, 2021 11:36 pm

Ping to the other end of the VPNs
If it succeeds, the tunnels are up.
Choose the fastest respons.
 
jaxed8
Member Candidate
Member Candidate
Topic Author
Posts: 195
Joined: Tue Jul 27, 2021 8:25 pm

Re: Auto speed test for multi VPN

Thu Oct 28, 2021 12:58 am

Ping to the other end of the VPNs
If it succeeds, the tunnels are up.
Choose the fastest respons.
Yeah that would be an option but what I'm looking for is a speedtest comparison like download speed and upload speed, so it will test the download and upload speed of each vpn to a btest server and compare the result.
 
holvoetn
Forum Guru
Forum Guru
Posts: 5326
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Auto speed test for multi VPN

Thu Oct 28, 2021 8:45 am

Don't underestimate the impact from testing those tunnels each half hour. If you're on a volume-limited line, it eats away of your available volume !
And the fact that during switch-over, you WILL loose your connection for whatever you are running.

What actually is missing here: what are you trying to achieve and what is your current config (incl. the lines used to connect outside) ?
 
jaxed8
Member Candidate
Member Candidate
Topic Author
Posts: 195
Joined: Tue Jul 27, 2021 8:25 pm

Re: Auto speed test for multi VPN

Thu Oct 28, 2021 6:56 pm

Don't underestimate the impact from testing those tunnels each half hour. If you're on a volume-limited line, it eats away of your available volume !
And the fact that during switch-over, you WILL loose your connection for whatever you are running.

What actually is missing here: what are you trying to achieve and what is your current config (incl. the lines used to connect outside) ?
The internet connection stability and speed for different vpn location changes very quickly here for example at 12 o'clock it's got full speed with London server and at 14 o'clock it's got one quarter of that speed with the same London server but at the same time it's full speed with France vpn server.

My config:
Other router configurations (with static IP).txt
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: dpa, nichky and 28 guests