... | ... | @@ -27,6 +27,29 @@ In a browser where WebRTC is enabled: |
|
|
1. Go to https://snowflake.torproject.org/embed and toggle the button to opt in to being a proxy. You shouldn't close that page if you want to remain a snowflake bridge.
|
|
|
|
|
|
### Option 3 (standalone)
|
|
|
|
|
|
There are several ways to setup and run a standalone Go snowflake proxy.
|
|
|
|
|
|
##### Docker setup
|
|
|
|
|
|
You must first have [Docker](https://docs.docker.com/engine/install/) and [docker-compose](https://docs.docker.com/compose/install/) installed.
|
|
|
|
|
|
We have a [Docker image](https://hub.docker.com/repository/docker/thetorproject/snowflake-proxy) to ease the setup of a snowflake proxy. First [download docker-compose.yml](https://gitlab.torproject.org/tpo/anti-censorship/docker-snowflake-proxy/raw/main/docker-compose.yml). Then, deploy the proxy by running
|
|
|
```
|
|
|
docker-compose up -d snowflake-proxy
|
|
|
```
|
|
|
|
|
|
You should now see the output:
|
|
|
```
|
|
|
Creating snowflake-proxy ... done
|
|
|
```
|
|
|
and your proxy is up and running!
|
|
|
|
|
|
##### Ansible
|
|
|
|
|
|
There is now an ansible role to install a Snowflake proxy on Debian [created by Jacobo Nájera](https://lists.torproject.org/pipermail/anti-censorship-team/2021-March/000143.html): https://galaxy.ansible.com/nvjacobo/snowflake
|
|
|
|
|
|
##### Compiling and running from source
|
|
|
1. First you will need to install and configure Go to build the standalone proxy-go code. If you are running Ubuntu or Debian, you can install Go by executing `apt install golang`. Otherwise visit https://golang.org/dl/. You will need Go 1.13+ to run the Snowflake proxy.
|
|
|
|
|
|
2. Clone the [source code](#source-code).
|
... | ... | @@ -43,7 +66,7 @@ In a browser where WebRTC is enabled: |
|
|
```
|
|
|
nohup ./proxy &
|
|
|
```
|
|
|
There is now an ansible role to install a Snowflake proxy on Debian [created by Jacobo Nájera](https://lists.torproject.org/pipermail/anti-censorship-team/2021-March/000143.html): https://galaxy.ansible.com/nvjacobo/snowflake
|
|
|
|
|
|
|
|
|
## Source code
|
|
|
https://gitweb.torproject.org/pluggable-transports/snowflake.git
|
... | ... | |