• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Webconfigurator doesn't save webgui tcp port if blank and others

Scheduled Pinned Locked Moved Plus 23.09 Development Snapshots (Retired)
3 Posts 3 Posters 496 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    jjstecchino
    last edited by jjstecchino Sep 4, 2023, 12:18 PM Sep 4, 2023, 12:17 PM

    I was experimenting with captive portal and I needed to change the web configurator in system/advanced/webconfigurator to https and non standard port in tcp port say 555.
    When I tried to revert to http from https and blank the tcp port field so it would use the defaults for http it did not save the blank value but rather kept the old one.
    As a result, after saving the changes I was not able to access the webconfigurator using http to port 80 as expected.
    The webconfigurator could be accessed with http://xxx:555 though.
    Not saving a blank value on the tcp port would prevent telling the firewall to use the defaults ports for http/https which is a convenient feature.
    Can this be fixed?

    By the way I found a similar problem in captive portal under a zone configuration, where once "Use custom captive portal page" is checked, if unchecked it does not save the unchecked value but keeps it checked.

    G 1 Reply Last reply Sep 5, 2023, 7:37 AM Reply Quote 0
    • G
      Gertjan @jjstecchino
      last edited by Sep 5, 2023, 7:37 AM

      @jjstecchino said in Webconfigurator doesn't save webgui tcp port if blank and others:

      As a result, after saving the changes I was not able to access the webconfigurator using http to port 80 as expected.

      Yeah ....
      I had to

      grep '<port>' /cf/conf/config.xml
      

      I know the first one is the one used by the web server used by the GUI.
      to figure out that "leaving blank" actually means : "don't change" (?) and not 'go back to 80 if http is chosen, and 443 if https is chosen.

      @jjstecchino said in Webconfigurator doesn't save webgui tcp port if blank and others:

      By the way I found a similar problem in captive portal under a zone configuration, where once "Use custom captive portal page" is checked, if unchecked it does not save the unchecked value but keeps it checked.

      Correct, it says checked until you click these two buttons :

      0bc15958-d621-4c81-9f0c-0a5c72aa483b-image.png

      as soon as the second button is clicked, "Use custom captive portal page" will become not selected.

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      1 Reply Last reply Reply Quote 0
      • M
        marcosm Netgate
        last edited by Sep 29, 2023, 5:17 PM

        Thanks for the report, redmine here: https://redmine.pfsense.org/issues/14820

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received