Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Run this whenever your IP changes to tell unblock.us about your new address. Fixes weird Netflix "internal errors", the Roku android app not signing in properly, and other glitchiness.
#!/bin/bash
# Set this to the email address you use with unblock.us.
UNBLOCKUS_EMAIL="you@domain.com"
curl \
--url http://check.unblock-us.com/ \
--form "validated=1&email=${UNBLOCKUS_EMAIL}&rid=0" \
--user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Fi27.0" -q \
&> /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment