Skip to content

Instantly share code, notes, and snippets.

@alexwenzel
Last active January 23, 2023 02:53
Show Gist options
  • Save alexwenzel/3b8770d8941c6706f1d09ce39bbb8d3a to your computer and use it in GitHub Desktop.
Save alexwenzel/3b8770d8941c6706f1d09ce39bbb8d3a to your computer and use it in GitHub Desktop.
#!/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