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

    Web ui locked out of

    webGUI
    ssh pfsense
    3
    5
    905
    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.
    • U
      unififcf
      last edited by

      Hello I was changing the port on the SSH to match the web UI port and now I can't get into the web ui.

      A web URI IP is: 192. 168.1.1:1111
      .SSH port changed to 1111

      I can SSH in... How can I get change the port for SSH BACK to 22

      I tried viconfig but I don't know how to use it.

      I used "i" to change the line to SSH to port 22.but cntrl zz says file is read only....

      How do I change and save it?

      pttP johnpozJ 2 Replies Last reply Reply Quote 0
      • pttP
        ptt Rebel Alliance @unififcf
        last edited by

        Use the console "Option 15" (Restore Recent Configuration)

        https://docs.netgate.com/pfsense/en/latest/backup/restore.html

        1 Reply Last reply Reply Quote 1
        • johnpozJ
          johnpoz LAYER 8 Global Moderator @unififcf
          last edited by

          @unififcf said in Web ui locked out of:

          changing the port on the SSH to match the web UI port

          Why would you think that could work? You can not run multiple services on the same IP on the same port.. Only 1 thing can be bound to specific port on the same IP at the same time..

          When you try and do such a thing you run into a race condition.. The first thing to bind will be what is listening.. the info @ptt should allow you to revert to previous config.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

          1 Reply Last reply Reply Quote 0
          • U
            unififcf
            last edited by

            Absolutely not the smartest thinking. lol.

            I will try it here right after lunch (in about 4 hours). Right now we have a lot of people in the building and I don't want it to go down in the middle of streaming events.

            1 Reply Last reply Reply Quote 0
            • U
              unififcf
              last edited by

              @ptt and @johnpoz

              It worked. Thanks so much for all your help

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