# Not sure about the new dietpi dashboard port block

**URL:** <https://dietpi.com/forum/t/not-sure-about-the-new-dietpi-dashboard-port-block/24584>\
**Category:** General Discussion\
**Created:** [24 October 2025 07:54 UTC](https://dietpi.com/forum/t/not-sure-about-the-new-dietpi-dashboard-port-block/24584 "2025-10-24T07:54:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ziltoid-linux](https://dietpi.com/forum/user_avatar/dietpi.com/ziltoid-linux/32/8401_2.png) [@ziltoid-linux](https://dietpi.com/forum/u/ziltoid-linux)\
**Post date:** [24 October 2025 07:54 UTC](https://dietpi.com/forum/t/not-sure-about-the-new-dietpi-dashboard-port-block/24584/1 "2025-10-24T07:54:25Z")

</div>

Hello everyone

I have installed dietpi in an sbc (nano pi neo3) connected to a router by ethernet cable and I configured it to be accessible only by ssh. No firewall is installed. The main use for it is to run pihole + unboud. Using it for about 2 years without issues.

The new dashboard message says:

“Please assure to close its network ports (default: TCP **5252** and **5253** ) on your NAT/router or via firewall, to protect them from public access. If you need to access the DietPi-Dashboard remotely, please use a VPN server on this system, like WireGuard.”

but I’m not sure I really need this, considering that I access the dashboard via browser with my pc, in the same LAN. My router (ZTE H388X) has a firewall set to “Middle: WAN host can neither directly access to LAN hosts, nor to the device itself.”

If it is recommended, I was thinking about using ufw in the sbc with this rules:

```bash
sudo ufw allow ssh
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow from 192.168.1.1/24 to any port 5252 proto tcp
sudo ufw allow from 192.168.1.1/24 to any port 5253 proto tcp
sudo ufw deny 5252/tcp
sudo ufw deny 5253/tcp
sudo ufw enable

```

Do you think it is ok?

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [24 October 2025 08:15 UTC](https://dietpi.com/forum/t/not-sure-about-the-new-dietpi-dashboard-port-block/24584/2 "2025-10-24T08:15:50Z")

</div>

This is just a reminder that you should not open these ports on your router. If you don’t have this, everything is fine and normally nothing else needs to be done.

The rules for ufw can be set if you want, but they are not a mandatory requirement.

---

<div class="post-metadata">

**Author:** ![ziltoid-linux](https://dietpi.com/forum/user_avatar/dietpi.com/ziltoid-linux/32/8401_2.png) [@ziltoid-linux](https://dietpi.com/forum/u/ziltoid-linux)\
**Post date:** [24 October 2025 08:18 UTC](https://dietpi.com/forum/t/not-sure-about-the-new-dietpi-dashboard-port-block/24584/3 "2025-10-24T08:18:29Z")

</div>

Thanks for the fast reply 🙂

I’ll leave the system as is it now.

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [22 January 2026 08:19 UTC](https://dietpi.com/forum/t/not-sure-about-the-new-dietpi-dashboard-port-block/24584/4 "2026-01-22T08:19:01Z")

</div>

Closed on 22 January 2026 08:19 UTC

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