Question: Note: I am aware that the Tor Project recommends against this and I want to do it anyway.

I've downloaded the Tor Relay Bundle and everything seems to be working fine. I can see myself as a relay on Atlas. However, I can't seem to configure Google Chrome to use Tor.

I've changed my proxy settings to use `localhost` and `127.0.0.1`, I've tried ports `8118`, `9030`, `9031`, `9050`, and `9051`, but I always end up getting the following when trying to access a website:

> 
> This webpage is not available.  
> 
>  The web page at <https://www.google.com/> might be temporarily down or it may have moved permanently to a new web address.  
> 
>  Error code: ERR\_TUNNEL\_CONNECTION\_FAILED
> 
> 
> 

My Tor Settings:  

![Tor Sharing tab](https://i.stack.imgur.com/DrG8S.png)
![Tor Advanced tab](https://i.stack.imgur.com/pXGmG.png)

What am I doing wrong?

EDIT: In addition, when I try to change my proxy settings, the Tor message log says

> 
> Jul 04 14:16:53.831 [Warning] Socks version 67 not recognized. (Tor is not an http proxy.)
> 
> 
>

Answer: 
**Warning:** The Tor Project advises against configuring systems manually like this. The safe method is the **Tor Browser Bundle**, you can *not* expect Chrome to keep you anonymous just like this. Another option might be to tunnel an entire (virtual) machine's traffic through Tor (like Tails OS does I think) but that is out of scope here.

---

That error message is useful. It means the port is right because Tor is receiving data from Chrome, but Tor tries to interpret it as SOCKS data and is unable to recognize it (67 is not an existing version of SOCKS). This means Chrome is using the wrong protocol to talk to Tor, most likely (like the error says) Chrome is talking like it would to an HTTP proxy. But Tor is not an HTTP proxy, it's a SOCKS proxy.

So now the question is how to configure Chrome to use SOCKS instead of whatever it currently uses. This doesn't seem to be too hard to find:

<https://duckduckgo.com/?q=chrome+socks+proxy> -> <http://www.chromium.org/developers/design-documents/network-stack/socks-proxy>

Since Chrome is basically Chromium plus a few (non-open source) Google services added, this should work on Chrome as well as Chromium. Assuming you use Windows (another non-recommended platform for safety), it might be something like this in cmd.exe:

```
cd C:\path\to\chrome (might be somewhere in AppData, or maybe Program Files)
chrome.exe --proxy-server="socks5://localhost:9050" --host-resolver-rules="MAP * 0.0.0.0 , EXCLUDE localhost"

```

You can find this path\to\chrome by rightclicking on a shortcut to Chrome and then choosing either properties or open file location. Both will show the full path where the file, chrome.exe I assume, is contained.

In Linux you probably would not need to use the `cd` command and the rest would likely be the same. In Mac OS X I don't know (please edit this answer if you know).
Since 0.3.2.1 version you can easily also use the `HTTPTunnelPort` option. eg: 

Run `tor.exe --HTTPTunnelPort 8118` and set `127.0.0.1:8118` as proxy.

See [this answer](https://tor.stackexchange.com/a/16561) for more information.