# Does the Hestia firewall manage IPv6 (ip6tables)?

**URL:** <https://forum.hestiacp.com/t/does-the-hestia-firewall-manage-ipv6-ip6tables/22489>\
**Category:** Community Support\
**Created:** [November 19, 2026, 10:30am UTC](https://forum.hestiacp.com/t/does-the-hestia-firewall-manage-ipv6-ip6tables/22489 "2026-11-19T10:30:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![web3.0](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/w/eada6e/32.png) [@web3.0](https://forum.hestiacp.com/u/web3.0)\
**Post date:** [November 19, 2026, 10:30am UTC](https://forum.hestiacp.com/t/does-the-hestia-firewall-manage-ipv6-ip6tables/22489/1 "2026-11-19T10:30:44Z")

</div>

Hi,

HestiaCP 1.10.8 on Ubuntu 24.04, nginx + PHP-FPM, server with IPv4 and IPv6.

I’ve restricted the panel port to a single IP from Server → Firewall, and it works fine on IPv4. However, I see that the panel also listens on IPv6, and the firewall rules don’t seem to create anything in ip6tables.

A few questions:

1. Does the Hestia firewall only manage IPv4? Is IPv6 support planned?
2. What’s the recommended way to restrict the panel port on IPv6? A custom ip6tables rule applied at boot, or making the panel listen on IPv4 only?
3. If I change the panel’s nginx config to IPv4 only, will Hestia updates overwrite it?

I’d prefer not to disable IPv6 on the server.

Thanks!

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [November 19, 2026, 1:00pm UTC](https://forum.hestiacp.com/t/does-the-hestia-firewall-manage-ipv6-ip6tables/22489/2 "2026-11-19T13:00:59Z")

</div>

Hi,

> [@web3.0](#):
>
> 1. Does the Hestia firewall only manage IPv4?

Yes.

> [@web3.0](#):
>
> 1. Is IPv6 support planned?

Yes.

> [@web3.0](#):
>
> 1. What’s the recommended way to restrict the panel port on IPv6? A custom ip6tables rule applied at boot, or making the panel listen on IPv4 only?

Create the file `/usr/local/hestia/data/firewall/custom.sh` with execution permissions and add there your rules.

Example:

```auto
#!/usr/bin/env bash

ipt6="/usr/sbin/ip6tables"

"$ipt6" -P INPUT DROP
"$ipt6" -A INPUT -s ::1 -j ACCEPT
"$ipt6" -A OUTPUT -d ::1 -j ACCEPT
"$ipt6" -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
"$ipt6" -A INPUT -p icmpv6 -j ACCEPT

```

---

<div class="post-metadata">

**Author:** ![aaronkempf](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/aaronkempf/32/384_2.png) [@aaronkempf](https://forum.hestiacp.com/u/aaronkempf)\
**Post date:** [November 21, 2026, 6:13am UTC](https://forum.hestiacp.com/t/does-the-hestia-firewall-manage-ipv6-ip6tables/22489/3 "2026-11-21T06:13:09Z")

</div>

sorry to be difficult. is it possible to restrict ‘all the sites’ EXCEPT the admin login panel?

(for ipv6). I like ipv6 for my putty sessions is all I know. Before I got rid of 1 layer of NAT, my putty would disconnect every 5-10 minutes. Now I just ssh into my url:port and it works perfectly.
