# Firewall issues - Unifi Security Gateway

**URL:** <https://community.homey.app/t/firewall-issues-unifi-security-gateway/21031>\
**Category:** Questions & Help\
**Created:** [November 20, 2019, 3:24pm UTC](https://community.homey.app/t/firewall-issues-unifi-security-gateway/21031 "2019-11-20T15:24:38Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maddeen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maddeen/32/17979_2.png) [@Maddeen](https://community.homey.app/u/Maddeen)\
**Post date:** [November 20, 2019, 3:24pm UTC](https://community.homey.app/t/firewall-issues-unifi-security-gateway/21031/1 "2019-11-20T15:24:38Z")

</div>

Hi there,

I recently switched my network access to a Draytek Vigor 165 and a Unifi USG.  
After this change it’s not possible anymore to access Homey via the WAN. Only LAN connections work.

Can someone give me hint, what ports I need to open or route specifically to get the Homey back in the WWW again 🙂

I don’t want to enable UPnP due to security reasons 😜

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Jo\_San](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jo_san/32/3732_2.png) [@Jo\_San](https://community.homey.app/u/Jo_San)\
**Post date:** [November 20, 2019, 3:54pm UTC](https://community.homey.app/t/firewall-issues-unifi-security-gateway/21031/2 "2019-11-20T15:54:21Z")

</div>

I am using the USG as well but have not done anything specific for Homey other than make sure that the wifi network it is on has internet access. Maybe it is something in the Draytek Vigor?

---

<div class="post-metadata">

**Author:** ![Maddeen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maddeen/32/17979_2.png) [@Maddeen](https://community.homey.app/u/Maddeen)\
**Post date:** [November 20, 2019, 3:58pm UTC](https://community.homey.app/t/firewall-issues-unifi-security-gateway/21031/3 "2019-11-20T15:58:45Z")

</div>

mhhh … interesting. The Vigor is only set up as a modem. No routing, no firewalls - nothing.  
The USG is the only routing/firewall appliance in my network.

Homey (sadly) is the only client I need to reach from the www - so I have no other client to double check if its a “Homey-thing” or a general network-thing 🙂

Maybe you got UPnP enabled - in that case Homey is able to to manage anything in your network to make itself reachable. Honestly this is a nice feature but a pain in the ass in case of network security 😂

---

<div class="post-metadata">

**Author:** ![Jo\_San](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jo_san/32/3732_2.png) [@Jo\_San](https://community.homey.app/u/Jo_San)\
**Post date:** [November 20, 2019, 4:15pm UTC](https://community.homey.app/t/firewall-issues-unifi-security-gateway/21031/4 "2019-11-20T16:15:11Z")

</div>

No I definitely do not have uPnP enabled 😀

---

<div class="post-metadata">

**Author:** ![Maddeen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maddeen/32/17979_2.png) [@Maddeen](https://community.homey.app/u/Maddeen)\
**Post date:** [November 20, 2019, 4:18pm UTC](https://community.homey.app/t/firewall-issues-unifi-security-gateway/21031/5 "2019-11-20T16:18:34Z")

</div>

seems to get complicated for me now, when you made nothing to make homey reachable via www.  
I’ll restart - maybe it’s really a homey-thing 😜

---

<div class="post-metadata">

**Author:** ![Maddeen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maddeen/32/17979_2.png) [@Maddeen](https://community.homey.app/u/Maddeen)\
**Post date:** [November 20, 2019, 4:25pm UTC](https://community.homey.app/t/firewall-issues-unifi-security-gateway/21031/6 "2019-11-20T16:25:27Z")

</div>

shame on me …

But in that case it brings me to another question - is it possible to add a scheduled reboot to Homey?

![ITCrow](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/f/9f12e373d2572f12b23f02ece5a7c3c405e1df80.jpeg)

---

<div class="post-metadata">

**Author:** ![Jo\_San](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jo_san/32/3732_2.png) [@Jo\_San](https://community.homey.app/u/Jo_San)\
**Post date:** [November 20, 2019, 5:01pm UTC](https://community.homey.app/t/firewall-issues-unifi-security-gateway/21031/7 "2019-11-20T17:01:43Z")

</div>

I believe you can restart homey from a flow, a lot of users do that for stability reasons

---

<div class="post-metadata">

**Author:** ![Maddeen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maddeen/32/17979_2.png) [@Maddeen](https://community.homey.app/u/Maddeen)\
**Post date:** [November 20, 2019, 5:29pm UTC](https://community.homey.app/t/firewall-issues-unifi-security-gateway/21031/8 "2019-11-20T17:29:47Z")

</div>

You’re right - just need to enable the experimental “power user” option.  
After that you got a new option in flows called “system” where you easily set the reboot.

Thank you

---

<div class="post-metadata">

**Author:** ![Ferry\_Spaan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ferry_spaan/32/9770_2.png) [@Ferry\_Spaan](https://community.homey.app/u/Ferry_Spaan)\
**Post date:** [January 18, 2021, 8:11pm UTC](https://community.homey.app/t/firewall-issues-unifi-security-gateway/21031/9 "2021-01-18T20:11:24Z")

</div>

I moved over from Netgear to Unifi products. However, the Homey disconnects from the network every 24-48 hours. There are no automated scripts around that time.  
I have setup a dedicated WifI network with support to legacy devices only (incl 2.5ghz only). Simplified the password (no special characters). No special settings or MAc filtering. Anybody got a clue where to look for?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/6/5685452480a702700cfde9ce7550b11672d5169d.png)

---

<div class="post-metadata">

**Author:** ![Jo\_San](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jo_san/32/3732_2.png) [@Jo\_San](https://community.homey.app/u/Jo_San)\
**Post date:** [February 13, 2021, 9:53pm UTC](https://community.homey.app/t/firewall-issues-unifi-security-gateway/21031/10 "2021-02-13T21:53:59Z")

</div>

Do you have the USG and if so, do you have the Intrusion Prevention enabled?  
My experience is that that function kills the internet connection on the USG every 24-48 hours…

---

<div class="post-metadata">

**Author:** ![Ferry\_Spaan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ferry_spaan/32/9770_2.png) [@Ferry\_Spaan](https://community.homey.app/u/Ferry_Spaan)\
**Post date:** [February 13, 2021, 10:43pm UTC](https://community.homey.app/t/firewall-issues-unifi-security-gateway/21031/11 "2021-02-13T22:43:52Z")

</div>

Inmiddels opgelost. De Wifi AI Scheduler was de oorzaak waarbij het kanaal gewijzigd werd.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/7/779293afea1028f9df835dcd913cf8489a590c5d.png)
