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

    Unable to access SSH / Webmin locally with pfsense v2.6

    Scheduled Pinned Locked Moved General pfSense Questions
    14 Posts 6 Posters 1.3k 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.
    • V
      vanderson
      last edited by vanderson

      Really weird issue happening.

      I have a Webmin / Ubuntu server on my network and installed the pfsense v2.6.
      I did a Diagnostic Port Test and both Port 22 and Port 10000 (Webmin) are successful however I cannot SSH into my Ubuntu box nor access the Webmin web-gui interface.

      alt text

      (24d4c5c7-8f24-4520-b218-a99ba13d0bfa-image.png

      But can't access via SSH (Port 22) and no Webmin (Port 10000)

      (814e94ea-79b2-42e5-81bd-7064b5bdb504-image.png

      Any suggestions would be greatly appreciated.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Where are you trying to access it from? A client in the same subnet? Through pfSense somehow?

        If it's in the same subnet that traffic doesn't go through pfSense at all so it's something else. Maybe a bad subnet mask somewhere.

        If you are coming from a different subnet somewhere set the source to that subnet in the port test in pfSense. With it set as default like it uses the interface in the same subnet which the target is unlikely to block.

        Steve

        V 1 Reply Last reply Reply Quote 0
        • V
          vanderson @stephenw10
          last edited by

          @stephenw10

          Thanks for the reply.

          We should be on the same subnet but will double check. Our network is setup as below, very basic as it is a home network.

          [Cable Modem] โ€“ [pfSense] โ€“ [Network Switch (Unmanaged)] โ€“ [Server and Workstations]

          We are trying to access the Ubuntu server via Putty on a Laptop connected via an Ethernet cable to the Network Switch.

          The Ubuntu server is also connected to the same Network switch.

          Ok just checked.

          Ubuntu Server is 192.168.1.102/24 (255.255.255.0)

          Windows Laptop is 192.168.1.107 and Subnet is 255.255.255.0

          pfsense is 255.255.255.0 (/24)

          V S 2 Replies Last reply Reply Quote 0
          • V
            vanderson @vanderson
            last edited by

            Screenshot of pfsense IP Information & Subnet
            alt text

            Screenshot of Laptop IP Information & Subnet
            alt text

            Screenshot of Ubuntu 20.04.4 LTS IP Information & Subnet
            alt text

            1 Reply Last reply Reply Quote 0
            • S
              SteveITS Galactic Empire @vanderson
              last edited by

              @vanderson said in Unable to access SSH / Webmin locally with pfsense v2.6:

              Ubuntu Server is 192.168.1.102/24 (255.255.255.0)
              Windows Laptop is 192.168.1.107 and Subnet is 255.255.255.0

              The connection between those would not go through the router.

              Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
              When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
              Upvote ๐Ÿ‘ helpful posts!

              V 1 Reply Last reply Reply Quote 0
              • V
                vanderson @SteveITS
                last edited by vanderson

                @steveits said in Unable to access SSH / Webmin locally with pfsense v2.6:

                @vanderson said in Unable to access SSH / Webmin locally with pfsense v2.6:

                Ubuntu Server is 192.168.1.102/24 (255.255.255.0)
                Windows Laptop is 192.168.1.107 and Subnet is 255.255.255.0

                The connection between those would not go through the router.

                Thanks for your response.

                Could you let me know why they would not go through the pfsense router?

                From my understanding the /24 is the netmask of the IP range is equivalent to mask 255.255.255.0

                So they both have the same subnet mask unless I am missing something.

                Thank you in advance.

                S 1 Reply Last reply Reply Quote 0
                • S
                  SteveITS Galactic Empire @vanderson
                  last edited by

                  @vanderson they are on the same network. A router is used when two devices are on different networks. Traffic between these two would just go through the switch and not get to the router.

                  Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                  When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                  Upvote ๐Ÿ‘ helpful posts!

                  V 1 Reply Last reply Reply Quote 1
                  • V
                    vanderson @SteveITS
                    last edited by

                    @steveits Ahh okay. So why would the laptop not be able to SSH into the Ubuntu server.

                    We can view the Apache2 server page on 192.168.1.107 but cannot access Webmin GUI at 192.168.1.107:10000

                    We checked and the ports on Ubuntu are listening.

                    johnpozJ GertjanG 2 Replies Last reply Reply Quote 0
                    • F
                      FSC830
                      last edited by

                      Not sure if I picked it up correct, but the ubuntu host is the host, you installed pfSense?
                      If so, may be a dump question: did you enable SSH access in pfSense?

                      3ed61e85-adbe-473c-bfdb-a78c2e4a2d6d-grafik.png

                      I apologize if I misunderstand something.

                      Regards

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

                        @vanderson said in Unable to access SSH / Webmin locally with pfsense v2.6:

                        So why would the laptop not be able to SSH into the Ubuntu server.

                        can you ping the IP? As mentioned 2 devices on the same network talking to each other has zero to do with pfsense.

                        Unless your trying to bridge the connection through pfsense? Where are these 2 devices connected.

                        First thing comes to mind if your saying the services are shown listening - is firewall. Did you adjust the firewall on the host to allow access to these services?

                        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.8, 24.11

                        1 Reply Last reply Reply Quote 0
                        • GertjanG
                          Gertjan @vanderson
                          last edited by

                          @vanderson said in Unable to access SSH / Webmin locally with pfsense v2.6:

                          We can view the Apache2 server page on 192.168.1.107 but cannot access Webmin GUI at 192.168.1.107:10000

                          Well, go ask your Ubuntu => Webmin why it isn't listening on it's interface 192.168.1.7 - port 10000 TCP !

                          Wait .... You said that your Ubuntu has IP :

                          3e962373-bda1-43a1-8e85-4f48eadb78a7-image.png

                          that's 192.168.100.102 - not 107.

                          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
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            The port check in pfSense only confirms the target is sending SYN-ACKs in response to SYN. It does not test any deeper than that.
                            So maybe SSH is configured for key auth only and you are trying to use username/password for example.

                            It's a config problem on the Ubuntu server though.

                            Steve

                            V 1 Reply Last reply Reply Quote 1
                            • V
                              vanderson @stephenw10
                              last edited by

                              @stephenw10 said in Unable to access SSH / Webmin locally with pfsense v2.6:

                              The port check in pfSense only confirms the target is sending SYN-ACKs in response to SYN. It does not test any deeper than that.
                              So maybe SSH is configured for key auth only and you are trying to use username/password for example.

                              It's a config problem on the Ubuntu server though.

                              Steve

                              Thank you.

                              That is what I am thinking and will be investigating. Worse case reinstall Ubuntu Server 20.04.4

                              1 Reply Last reply Reply Quote 0
                              • V
                                vanderson
                                last edited by

                                Okay. Finally solved this for the friend.

                                She had SimpleWall installed and it was blocking everything! I did not know it until I found we couldn't ping websites then investigated further and wallah!

                                Thank you all!

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