# Rules for a firewall in front of a Info-Beamer client

**URL:** <https://community.info-beamer.com/t/rules-for-a-firewall-in-front-of-a-info-beamer-client/183>\
**Category:** Help\
**Created:** [November 29, 2018, 3:10pm UTC](https://community.info-beamer.com/t/rules-for-a-firewall-in-front-of-a-info-beamer-client/183 "2018-11-29T15:10:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![walter](https://community.info-beamer.com/user_avatar/community.info-beamer.com/walter/32/25_2.png) [@walter](https://community.info-beamer.com/u/walter)\
**Post date:** [November 29, 2018, 3:10pm UTC](https://community.info-beamer.com/t/rules-for-a-firewall-in-front-of-a-info-beamer-client/183/1 "2018-11-29T15:10:35Z")

</div>

Hello,  
several installations of Info-Beamer are inside corporate buildings So far the IT departments have put the device on a fixed address, and opened every connection/port to and from the Raspberry on the corporate firewall.

But maybe this is too much.  
What are the minimum ports/hostname/ips that need to be opened in order for an InfoBeamer hosted to work?  
I suppose an HTTPS connection to [infobeamer.com](http://infobeamer.com) is needed, and what more? Who initiates the websocket connection?

A list (if publicly available) would be nice to give to those IT departments.

Thanks  
Walter

---

<div class="post-metadata">

**Author:** ![infobeamer-fw](https://community.info-beamer.com/user_avatar/community.info-beamer.com/infobeamer-fw/32/3_2.png) [@infobeamer-fw](https://community.info-beamer.com/u/infobeamer-fw)\
**Post date:** [November 29, 2018, 3:40pm UTC](https://community.info-beamer.com/t/rules-for-a-firewall-in-front-of-a-info-beamer-client/183/2 "2018-11-29T15:40:43Z")

</div>

Have a look here: [https://info-beamer.com/doc/device-setup#settinguphosted](https://info-beamer.com/doc/device-setup#settinguphosted)

---

<div class="post-metadata">

**Author:** ![walter](https://community.info-beamer.com/user_avatar/community.info-beamer.com/walter/32/25_2.png) [@walter](https://community.info-beamer.com/u/walter)\
**Post date:** [November 29, 2018, 4:03pm UTC](https://community.info-beamer.com/t/rules-for-a-firewall-in-front-of-a-info-beamer-client/183/3 "2018-11-29T16:03:50Z")

</div>

Thanks! Sorry for being so dumb, I’ve overlooked this section.  
Wonderful as usual.

---

<div class="post-metadata">

**Author:** ![infobeamer-fw](https://community.info-beamer.com/user_avatar/community.info-beamer.com/infobeamer-fw/32/3_2.png) [@infobeamer-fw](https://community.info-beamer.com/u/infobeamer-fw)\
**Post date:** [December 2, 2018, 12:00pm UTC](https://community.info-beamer.com/t/rules-for-a-firewall-in-front-of-a-info-beamer-client/183/4 "2018-12-02T12:00:44Z")

</div>

Be aware that just allowing all IPs that for example `sync.info-beamer.com` resolves to probably won’t work reliably: Here’s what this resolves to from the office:

```auto
Non-authoritative answer:
Name: sync.info-beamer.com
Address: 143.204.214.58
Name: sync.info-beamer.com
Address: 143.204.214.81
Name: sync.info-beamer.com
Address: 143.204.214.33
Name: sync.info-beamer.com
Address: 143.204.214.108

```

and from some VM in New York:

```auto
Non-authoritative answer:
Name: sync.info-beamer.com
Address: 52.85.89.33
Name: sync.info-beamer.com
Address: 52.85.89.109
Name: sync.info-beamer.com
Address: 52.85.89.116
Name: sync.info-beamer.com
Address: 52.85.89.184

```

So it’s not using Anycast for global load balancing but geo location based DNS. You’d really have to figure out all possible IPs using the provided [documentation](https://ip-ranges.amazonaws.com/ip-ranges.json). Might get fiddly rather soon. And that’s just for AWS CloudFront.

---

<div class="post-metadata">

**Author:** ![walter](https://community.info-beamer.com/user_avatar/community.info-beamer.com/walter/32/25_2.png) [@walter](https://community.info-beamer.com/u/walter)\
**Post date:** [December 10, 2018, 1:25pm UTC](https://community.info-beamer.com/t/rules-for-a-firewall-in-front-of-a-info-beamer-client/183/5 "2018-12-10T13:25:21Z")

</div>

Thanks.  
So basically we should use hostnames, which I guess are not the best of things when speaking of firewalls? 🙁

---

<div class="post-metadata">

**Author:** ![infobeamer-fw](https://community.info-beamer.com/user_avatar/community.info-beamer.com/infobeamer-fw/32/3_2.png) [@infobeamer-fw](https://community.info-beamer.com/u/infobeamer-fw)\
**Post date:** [December 10, 2018, 2:11pm UTC](https://community.info-beamer.com/t/rules-for-a-firewall-in-front-of-a-info-beamer-client/183/6 "2018-12-10T14:11:28Z")

</div>

That sounds like it will mostly works by accident then. I’m not sure how often those IPs change, but if they do, you’d have to resolve again. Doesn’t sound very reliable. Generally opening up 80/443 isn’t an option?

---

<div class="post-metadata">

**Author:** ![walter](https://community.info-beamer.com/user_avatar/community.info-beamer.com/walter/32/25_2.png) [@walter](https://community.info-beamer.com/u/walter)\
**Post date:** [December 10, 2018, 2:37pm UTC](https://community.info-beamer.com/t/rules-for-a-firewall-in-front-of-a-info-beamer-client/183/7 "2018-12-10T14:37:26Z")

</div>

Hi,

I guess that if we can ask to open just HTTP/HTTPS outgoing ports, it could be an option.  
Really, it depends on the end client and sometimes their ITs are very picky about the rules they allow.

Will try this route  
thanks  
Walter
