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

Change Port via CLI

Scheduled Pinned Locked Moved webGUI
6 Posts 3 Posters 782 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.
  • N
    nasheayahu
    last edited by nasheayahu Dec 26, 2023, 6:43 AM Dec 26, 2023, 6:43 AM

    SG 1100

    I'm using SG 2100 as main firewall but experimenting with SG 1100 as a lite weight fire for another Network. I set TCP port to 12443 (using 10443, 11443) and now I can not access webGUI.

    How can I change the port without reset via cli or ? I do have console connection.....

    G 1 Reply Last reply Dec 26, 2023, 7:12 AM Reply Quote 0
    • G
      Gertjan @nasheayahu
      last edited by Gertjan Jan 2, 2024, 4:55 PM Dec 26, 2023, 7:12 AM

      @nasheayahu

      The fast way - even short cutting Google - is (IMHO) :
      Option 8 (Shell).

      Type vinconfig and enter.

      edit 2024-01-02 :
      It's

      viconfig
      

      Type /webgui and enyter, you find the webgui parameters. where you can see the port number, protocol etc.

      0c1b9901-e974-42f1-a365-8c4d374069e8-image.png

      Change what you want. Be careful, "BS-IN is BS-out" is valid here.

      Btw : You'll be working with the 'vi' text editor. Get yourself a minimal "need to know before even touching the keyboard" manual first.

      When done, safe and quit.
      Type reboot + enter.
      Done.

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

      N J 2 Replies Last reply Dec 26, 2023, 7:26 AM Reply Quote 0
      • N
        nasheayahu @Gertjan
        last edited by nasheayahu Dec 26, 2023, 8:11 AM Dec 26, 2023, 7:26 AM

        @Gertjan said in Change Port via CLI:

        Type vinconfig and enter.

        Evening, I get a command not found, but what is the name and location of the file?

        UPDATE: found file and location here /conf/config.xml, made changes with success.

        Thanks!...

        G 1 Reply Last reply Dec 26, 2023, 8:28 AM Reply Quote 0
        • G
          Gertjan @nasheayahu
          last edited by Dec 26, 2023, 8:28 AM

          @nasheayahu said in Change Port via CLI:

          Evening, I get a command not found,

          20bd9988-e5da-4f46-bf20-d1c0cec3ef6b-image.png

          and press enter and then file not found ??

          Editing the /conf/config.xml is also ok.

          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 1
          • J
            jimp Rebel Alliance Developer Netgate @Gertjan
            last edited by Jan 2, 2024, 3:47 PM

            @Gertjan said in Change Port via CLI:

            Type vinconfig and enter.

            It's viconfig, not vin

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            G 1 Reply Last reply Jan 2, 2024, 4:58 PM Reply Quote 1
            • G
              Gertjan @jimp
              last edited by Jan 2, 2024, 4:58 PM

              @jimp

              Hummm.
              "vin" is wine here (French).
              Corrected the post .... thanks.

              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
              • 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