# Disable captive portal

**URL:** <https://community.ipfire.org/t/disable-captive-portal/5668>\
**Category:** Network\
**Created:** [23 June 2021 08:25 UTC](https://community.ipfire.org/t/disable-captive-portal/5668 "2021-06-23T08:25:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tikok974](https://community.ipfire.org/user_avatar/community.ipfire.org/tikok974/32/16395_2.png) [@tikok974](https://community.ipfire.org/u/tikok974)\
**Post date:** [23 June 2021 08:25 UTC](https://community.ipfire.org/t/disable-captive-portal/5668/1 "2021-06-23T08:25:40Z")

</div>

Hi Everybody,

How can I disable Captive portal service so that it no longer listens on port 1013 ?

Thanks  
Mickaël

---

<div class="post-metadata">

**Author:** ![bbitsch](https://community.ipfire.org/user_avatar/community.ipfire.org/bbitsch/32/7420_2.png) [@bbitsch](https://community.ipfire.org/u/bbitsch)\
**Post date:** [23 June 2021 08:29 UTC](https://community.ipfire.org/t/disable-captive-portal/5668/2 "2021-06-23T08:29:18Z")

</div>

Did you disable in the WUI (Network → Captive Portal)?

---

<div class="post-metadata">

**Author:** ![tikok974](https://community.ipfire.org/user_avatar/community.ipfire.org/tikok974/32/16395_2.png) [@tikok974](https://community.ipfire.org/u/tikok974)\
**Post date:** [23 June 2021 08:43 UTC](https://community.ipfire.org/t/disable-captive-portal/5668/3 "2021-06-23T08:43:35Z")

</div>

Yes…all boxes are unchecked and yet…the service listens on port 1013 ☹

---

<div class="post-metadata">

**Author:** ![ms](https://community.ipfire.org/user_avatar/community.ipfire.org/ms/32/9344_2.png) [@ms](https://community.ipfire.org/u/ms)\
**Post date:** [24 June 2021 11:18 UTC](https://community.ipfire.org/t/disable-captive-portal/5668/4 "2021-06-24T11:18:10Z")

</div>

The web service is always enabled and listens on that port.

What is your use-case to disable this?

---

<div class="post-metadata">

**Author:** ![tikok974](https://community.ipfire.org/user_avatar/community.ipfire.org/tikok974/32/16395_2.png) [@tikok974](https://community.ipfire.org/u/tikok974)\
**Post date:** [24 June 2021 12:06 UTC](https://community.ipfire.org/t/disable-captive-portal/5668/5 "2021-06-24T12:06:39Z")

</div>

Hi Michael,  
I want disable Captive Portal because i don’t use it and I want to minimize the number of open ports on my firewall 😉  
Thanks

---

<div class="post-metadata">

**Author:** ![bonnietwin](https://community.ipfire.org/user_avatar/community.ipfire.org/bonnietwin/32/12350_2.png) [@bonnietwin](https://community.ipfire.org/u/bonnietwin)\
**Post date:** [24 June 2021 12:14 UTC](https://community.ipfire.org/t/disable-captive-portal/5668/6 "2021-06-24T12:14:37Z")

</div>

Hi @tikok974

The web service may be accessing the port on the firewall itself but unless you have created a firewall rule then port 1013 is completely closed to the outside world.

The only open ports on your firewall will be those specified in the firewall rules you have created.

---

<div class="post-metadata">

**Author:** ![ms](https://community.ipfire.org/user_avatar/community.ipfire.org/ms/32/9344_2.png) [@ms](https://community.ipfire.org/u/ms)\
**Post date:** [24 June 2021 12:24 UTC](https://community.ipfire.org/t/disable-captive-portal/5668/7 "2021-06-24T12:24:55Z")

</div>

> [@tikok974](#):
>
> I want to minimize the number of open ports on my firewall 😉

That does not necessary make the system more secure…

---

<div class="post-metadata">

**Author:** ![tikok974](https://community.ipfire.org/user_avatar/community.ipfire.org/tikok974/32/16395_2.png) [@tikok974](https://community.ipfire.org/u/tikok974)\
**Post date:** [30 June 2021 09:37 UTC](https://community.ipfire.org/t/disable-captive-portal/5668/8 "2021-06-30T09:37:09Z")

</div>

Hi Michael,  
Ok…thanks for your reply 😉  
Have a nice day
