Skip to content

Instantly share code, notes, and snippets.

@eagafonov
Created February 16, 2015 10:47
Show Gist options
  • Save eagafonov/bad19ca95ffe21d4b55d to your computer and use it in GitHub Desktop.
Save eagafonov/bad19ca95ffe21d4b55d to your computer and use it in GitHub Desktop.
Dumb script to check that STUN server responds
#!/bin/sh
set -e
stun -v $1 2>&1 | grep MappedAddress | head -1 | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment