Skip to content

Instantly share code, notes, and snippets.

@james-see
Last active July 28, 2016 17:57
Show Gist options
  • Select an option

  • Save james-see/416a9c5f4f5df8be7a7a36d63aa097cc to your computer and use it in GitHub Desktop.

Select an option

Save james-see/416a9c5f4f5df8be7a7a36d63aa097cc to your computer and use it in GitHub Desktop.
bash to setup a new appspot meek bridge for tor (assuming already have new google project created)
# taken from:
# https://lists.torproject.org/pipermail/tor-talk/2016-June/041699.html
# Go to the Cloud Platform Console and log in (you can use a gmail.com account).
# https://console.cloud.google.com/project
# Create a new project. The project ID determines the URL where the app
# will live. For example, if you choose "myproject", then the app will be
# at https://myproject.appspot.com/.
# Download the meek source code. The code you need is in the "appengine"
# directory.
mkdir ~/projects
cd ~/projects
sudo apt-get install git
git clone https://git.torproject.org/pluggable-transports/meek.git
# Download the App Engine SDK. It has the "goapp" program you need to
# upload the project.
# https://cloud.google.com/appengine/downloads#Google_App_Engine_SDK_for_Go
# To upload the project, run
mkdir ~/Downloads
cd ~/Downloads
wget https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_darwin_amd64-1.9.40.zip
unzip go_appengine_sdk_darwin_amd64-1.9.40.zip
cd ~/projects/meek/appengine
~/Downloads/go_appengine/goapp deploy -application myproject
# (Replace "myproject" with your own project ID.) It will probably ask you
#to re-enter your Google password. If it works, you can go to
# https://myproject.appspot.com/ and see the message "I’m just a happy
#little web server."
# Finally, in Tor Browser, click the onion icon and then "Tor Network
# Settings...". Check the box for "My Internet Service Provider (ISP)
# blocks connections to the Tor network, then click "Enter custom
# bridges". In the box, enter this line (replace "myproject" with your
# project ID):
# bridge meek 0.0.2.0:1 url=https://myproject.appspot.com/ front=www.google.com
# Then restart Tor Browser.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment