Last active
January 23, 2023 02:53
-
-
Save alexwenzel/3b8770d8941c6706f1d09ce39bbb8d3a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while true; do | |
protonvpn c -r -p udp # connect to random udp | |
protonvpn s | |
command & # run in background | |
sleep 900 | |
kill $! # kill last process | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment