# SOCKS5 proxy setup

**URL:** https://forum.syncthing.net/t/socks5-proxy-setup/6127
**Category:** Support
**Created:** [November 12, 2015, 2:03am UTC](https://forum.syncthing.net/t/socks5-proxy-setup/6127 "2015-11-12T02:03:41Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![bill](https://forum.syncthing.net/user_avatar/forum.syncthing.net/bill/32/2152_2.png) [@bill](https://forum.syncthing.net/u/bill)
#### Post date: [November 12, 2015, 2:03am UTC](https://forum.syncthing.net/t/socks5-proxy-setup/6127/1 "2015-11-12T02:03:42Z")

</div>

In [this thread](https://forum.syncthing.net/t/syncthing-syncthing-v0-12-0-beryllium-bedbug/6026) we have the announcement that Syncthing v0.12.0 “Beryllium Bedbug” has proxy support. How would we make those proxy settings on a Windows machine?

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [November 12, 2015, 2:06am UTC](https://forum.syncthing.net/t/socks5-proxy-setup/6127/2 "2015-11-12T02:06:07Z")

</div>

You’d set an environment variable on Windows. Consult the OS manual on how to do that.

---

<div class="post-metadata">

### Author: ![bill](https://forum.syncthing.net/user_avatar/forum.syncthing.net/bill/32/2152_2.png) [@bill](https://forum.syncthing.net/u/bill)
#### Post date: [November 12, 2015, 2:18am UTC](https://forum.syncthing.net/t/socks5-proxy-setup/6127/3 "2015-11-12T02:18:00Z")

</div>

I know where to set Environment Variables. Do I create a new Syncthing variable? I’m not clear what variable would be required to get Syncthing to use my proxy.

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [November 12, 2015, 2:19am UTC](https://forum.syncthing.net/t/socks5-proxy-setup/6127/4 "2015-11-12T02:19:03Z")

</div>

Exactly as it says in the thread, ALL\_PROXY=socks5://address.com:1234

---

<div class="post-metadata">

### Author: ![bill](https://forum.syncthing.net/user_avatar/forum.syncthing.net/bill/32/2152_2.png) [@bill](https://forum.syncthing.net/u/bill)
#### Post date: [November 12, 2015, 2:38am UTC](https://forum.syncthing.net/t/socks5-proxy-setup/6127/5 "2015-11-12T02:38:52Z")

</div>

> [@AudriusButkevicius](#):
>
> **ALL\_PROXY** =socks5://address.com:1234

Oops. Missed that. Thank you very much.

I made a _Variable name_ of ALL\_PROXY with a _Variable value_ of socks5://address.com:1234 Syncthing seems to recognize that.

---

<div class="post-metadata">

### Author: ![canton7](https://forum.syncthing.net/user_avatar/forum.syncthing.net/canton7/32/9528_2.png) [@canton7](https://forum.syncthing.net/u/canton7)
#### Post date: [November 12, 2015, 8:33am UTC](https://forum.syncthing.net/t/socks5-proxy-setup/6127/6 "2015-11-12T08:33:31Z")

</div>

(If you’re using SyncTrayzor, there’s a section in the settings where you can specify environmental variables)

---

<div class="post-metadata">

### Author: ![bill](https://forum.syncthing.net/user_avatar/forum.syncthing.net/bill/32/2152_2.png) [@bill](https://forum.syncthing.net/u/bill)
#### Post date: [November 12, 2015, 8:53am UTC](https://forum.syncthing.net/t/socks5-proxy-setup/6127/7 "2015-11-12T08:53:00Z")

</div>

> [@bill](#):
>
> Variable name of ALL\_PROXY

Be wary of ALL CAPS. That didn’t work properly. I needed to use **all\_proxy** as the variable name to get it to work.

> [@canton7](#):
>
> (If you’re using SyncTrayzor, there’s a section in the settings where you can specify environmental variables)

I am using SyncTrayzor 1.0.29 but didn’t see the Environment Variables in any of the Settings.

---

<div class="post-metadata">

### Author: ![canton7](https://forum.syncthing.net/user_avatar/forum.syncthing.net/canton7/32/9528_2.png) [@canton7](https://forum.syncthing.net/u/canton7)
#### Post date: [November 12, 2015, 9:14am UTC](https://forum.syncthing.net/t/socks5-proxy-setup/6127/8 "2015-11-12T09:14:44Z")

</div>

> [@bill](#):
>
> I am using SyncTrayzor 1.0.29 but didn’t see the Environment Variables in any of the Settings.

File → Settings → Syncthing → Advanced → Syncthing Environmental Variables.

---

<div class="post-metadata">

### Author: ![bill](https://forum.syncthing.net/user_avatar/forum.syncthing.net/bill/32/2152_2.png) [@bill](https://forum.syncthing.net/u/bill)
#### Post date: [November 13, 2015, 10:46am UTC](https://forum.syncthing.net/t/socks5-proxy-setup/6127/9 "2015-11-13T10:46:35Z")

</div>

> [@canton7](#):
>
> File -\> Settings -\> Syncthing -\> Advanced -\> Syncthing Environmental Variables.

Thanks. I didn’t see that option. It works just as well as setting the Environment Variables directly in Windows (except easier 😜).

---

<div class="post-metadata">

### Author: ![canton7](https://forum.syncthing.net/user_avatar/forum.syncthing.net/canton7/32/9528_2.png) [@canton7](https://forum.syncthing.net/u/canton7)
#### Post date: [November 13, 2015, 11:01am UTC](https://forum.syncthing.net/t/socks5-proxy-setup/6127/10 "2015-11-13T11:01:44Z")

</div>

Yep, except that it only applies to the Syncthing process, not everything.

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [December 13, 2015, 11:01am UTC](https://forum.syncthing.net/t/socks5-proxy-setup/6127/11 "2015-12-13T11:01:57Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
