# Internet access through corporate proxy-server

**URL:** <https://forums.rocket.chat/t/internet-access-through-corporate-proxy-server/1654>\
**Category:** Feature Requests (historic archive)\
**Created:** [July 21, 2018, 9:06am UTC](https://forums.rocket.chat/t/internet-access-through-corporate-proxy-server/1654 "2018-07-21T09:06:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vasilieff\_vv](https://avatars.discourse-cdn.com/v4/letter/v/9f8e36/32.png) [@vasilieff\_vv](https://forums.rocket.chat/u/vasilieff_vv)\
**Post date:** [July 21, 2018, 9:06am UTC](https://forums.rocket.chat/t/internet-access-through-corporate-proxy-server/1654/1 "2018-07-21T09:06:44Z")

</div>

To access the internet from the rocket chat server it must have direct internet connection. But corporate security policies often prohibit direct access. It’s only allowed to connect through proxy server (squid, bluecoat, checkpoint web application control etc.)  
As I see, rocket chat server ignores system environment variables http\_proxy and https\_proxy and try to access directly  
Without internet access we can’t have push notifications and url preview.  
Please make possible to set proxy in the rocket chat server or use system proxy settings

---

<div class="post-metadata">

**Author:** ![SeremeToFest5](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@SeremeToFest5](https://forums.rocket.chat/u/SeremeToFest5)\
**Post date:** [April 26, 2019, 8:06pm UTC](https://forums.rocket.chat/t/internet-access-through-corporate-proxy-server/1654/2 "2019-04-26T20:06:54Z")

</div>

There should be a option in rocketchat administration console to setup proxy server specifically for url link preview and push notification only.

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [May 28, 2019, 11:14am UTC](https://forums.rocket.chat/t/internet-access-through-corporate-proxy-server/1654/3 "2019-05-28T11:14:23Z")

</div>

There was a conversation regarding this on open.rocket.chat a while back.

I don’t believe it is quite as simple as adding a setting to ‘Use Proxy’ because it can depend on how Rocket is deployed.

Aaron posted this as a potential solution:

[https://blog.codeship.com/using-docker-behind-a-proxy/](https://blog.codeship.com/using-docker-behind-a-proxy/)

Some other reading:

> <https://github.com/RocketChat/Rocket.Chat/issues/2657>
