# Configuration outbound proxy

**URL:** https://meta.discourse.org/t/configuration-outbound-proxy/65992
**Category:** Self-hosting
**Created:** [July 11, 2017, 9:19am UTC](https://meta.discourse.org/t/configuration-outbound-proxy/65992 "2017-07-11T09:19:03Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![SystemZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/systemz/32/88354_2.png) [@SystemZ](https://meta.discourse.org/u/SystemZ)
#### Post date: [July 29, 2020, 2:40am UTC](https://meta.discourse.org/t/configuration-outbound-proxy/65992/14 "2020-07-29T02:40:46Z")

</div>

Anything changed in newer versions of Discourse?  
Is there now an easy way to setup outgoing proxy?

Is important to hide origin IP from attackers if Cloudflare protection must work correctly.

Related topics:

> [@Discourse Link previews through a proxy server?](https://meta.discourse.org/t/discourse-link-previews-through-a-proxy-server/72720/21):
>
> Sure, but which of those 4 billion IPs is the right one if you can’t tell them apart? With proper opsec (e.g. firewall rules to only allow Cloudflare in and whitelisted traffic out) means you will be pretty safe. Until you aren’t because you missed a leak slight_smile For example, better proxy all your DNS as well.

> [@Hiding the origin on cloudflare](https://meta.discourse.org/t/hiding-the-origin-on-cloudflare/94496):
>
> While researching Cloudflare and best practices to use to protect my server I ran into an article by Cloudflare about protecting the origin IP (the IP where the website is actually being ran from) because you would be able to circumvent all of Cloudflares ddos protection if you had it. What interested me was specifically this section: Never initiate an outbound connection based on user action If the attacker can get your web server to connect to an arbitrary address, they will reveal your …

I can contribute to code if it’s necessary, I just need some tips which code needs to be refactored to use some kind of proxy settings.

---

_[View the full topic](https://meta.discourse.org/t/configuration-outbound-proxy/65992)._
