Is it possible and how could I do this if it is. Currently our vpn’s are locked down and are only open for 30 seconds after accessing different ports in order quickly 5 seconds between each one. Currently I am just hitting the router with curl commands as ish supports this. It’s just about hitting the ports
I have been using the script below using a Beta bit of software on ios called ish but find it all a bit clunky and o guarantee it will stay around. It would be nice if I could get this working in a shortcut so I can try press a button.
curl --connect-timeout 1 --retry 1 $KnockHost:$KnockPort1
curl --connect-timeout 1 --retry 1 $KnockHost:$KnockPort2
curl --connect-timeout 1 --retry 1 $KnockHost:$KnockPort3