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

    Need web config SSH help

    Scheduled Pinned Locked Moved webGUI
    5 Posts 3 Posters 3.5k 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.
    • L
      LawnMowerGuy1
      last edited by

      I need to know how to change the webconfigurator listening port and open access on that port to the internet via shell.

      My terminal server took a dump, I need to get to the web config and the only way I can access pfsense is through SSH.

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

        You can configure the port that ssh listens on at system>advanced. To allow access to it from the outside just create a firewallrule at firewall>rules, wan tab that permits access to tcp source any, destination wan ip, port <ssh port="">.</ssh>

        1 Reply Last reply Reply Quote 0
        • L
          LawnMowerGuy1
          last edited by

          cant get to the webgui, thats the problem, I'm asking how to do this manually.

          1 Reply Last reply Reply Quote 0
          • S
            sullrich
            last edited by

            Edit config.xml

            <webgui><protocol>https</protocol>
                                    <certificate><private-key></private-key></certificate></webgui>

            Remove /tmp/config.cache immediately after saving.

            1 Reply Last reply Reply Quote 0
            • L
              LawnMowerGuy1
              last edited by

              got it thanks

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.