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

pfSense keeps disconnecting/reconnecting in UniFi Controller

General pfSense Questions
9
85
14.9k
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.
  • D
    dragonfire1119 @johnpoz
    last edited by Aug 30, 2021, 7:03 PM

    @johnpoz Yes correct.

    J 1 Reply Last reply Aug 30, 2021, 7:05 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @dragonfire1119
      last edited by Aug 30, 2021, 7:05 PM

      Off the top of my head I know of nothing in pfsense that would be talking to itself on ssh.. From itself?

      What packages are you running?

      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

      D 1 Reply Last reply Aug 30, 2021, 7:06 PM Reply Quote 0
      • D
        dragonfire1119 @johnpoz
        last edited by dragonfire1119 Aug 30, 2021, 7:08 PM Aug 30, 2021, 7:06 PM

        @johnpoz here is a list of my packages installed and uninstalled:

        • aws-wizard
        • bandwidth
        • ipsec-profile-wizard
        • Netgate_Firmware_Upgrade
        • ntopng
        • Zabbix (Uninstalled though)
        J 1 Reply Last reply Aug 30, 2021, 7:08 PM Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator @dragonfire1119
          last edited by johnpoz Aug 30, 2021, 7:08 PM Aug 30, 2021, 7:08 PM

          @dragonfire1119 ntopng does have the ability to do monitoring - that could be doing it??? I have not played with ntop in along time..

          Turn if off for testing - does your problem go away.. Do the sshguard lockouts go away.

          Zabbix would also be able to do monitoring.. But you say that is uninstalled.

          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

          D B 2 Replies Last reply Aug 30, 2021, 7:10 PM Reply Quote 0
          • D
            dragonfire1119 @johnpoz
            last edited by Aug 30, 2021, 7:10 PM

            @johnpoz I just disabled it and monitoring it.

            1 Reply Last reply Reply Quote 0
            • B
              bingo600 @johnpoz
              last edited by Aug 30, 2021, 7:13 PM

              @johnpoz
              I have ntopng + zabbix agent installed.
              Have never seen any strange ssh.

              /Bingo

              If you find my answer useful - Please give the post a 👍 - "thumbs up"

              pfSense+ 23.05.1 (ZFS)

              QOTOM-Q355G4 Quad Lan.
              CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
              LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

              J 1 Reply Last reply Aug 30, 2021, 7:25 PM Reply Quote 0
              • J
                johnpoz LAYER 8 Global Moderator @bingo600
                last edited by johnpoz Aug 30, 2021, 7:27 PM Aug 30, 2021, 7:25 PM

                @bingo600 yeah I have no idea why something would try and ssh to itself from its own IP? But ntop does have the ability to active monitor.. Atleast the full current version does - not sure about the package version in pfsense.

                Not sure if ssh was available as one of the things to check? I know like icmp, ping, http, etc was..

                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

                D B 2 Replies Last reply Aug 30, 2021, 7:29 PM Reply Quote 0
                • D
                  dragonfire1119 @johnpoz
                  last edited by Aug 30, 2021, 7:29 PM

                  @johnpoz Been monitoring it no more logs with blocking so far. We're getting better speeds and 4 ms ping now.

                  1 Reply Last reply Reply Quote 0
                  • B
                    bingo600 @johnpoz
                    last edited by Aug 30, 2021, 7:31 PM

                    @johnpoz

                    If something from the inside tried to ssh to the "outside/wan"
                    Would it be natt'ed to the wan first ?

                    So that wan ssh's wan

                    If it was comming from real wan (spoof) , then i'd hope the packets would be blocked , and not getting a "ban"

                    /Bingo

                    If you find my answer useful - Please give the post a 👍 - "thumbs up"

                    pfSense+ 23.05.1 (ZFS)

                    QOTOM-Q355G4 Quad Lan.
                    CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                    LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

                    J 1 Reply Last reply Aug 30, 2021, 7:36 PM Reply Quote 0
                    • J
                      johnpoz LAYER 8 Global Moderator @bingo600
                      last edited by johnpoz Aug 30, 2021, 7:40 PM Aug 30, 2021, 7:36 PM

                      @bingo600 said in pfSense keeps disconnecting/reconnecting in UniFi Controller:

                      Would it be natt'ed to the wan first ?

                      No..

                      I just hit my wan IP from lan side IP, as you can see the state is showing the lan side rfc1918 address.

                      login-to-view

                      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

                      D 1 Reply Last reply Aug 30, 2021, 7:51 PM Reply Quote 1
                      • D
                        dragonfire1119 @johnpoz
                        last edited by dragonfire1119 Aug 30, 2021, 8:07 PM Aug 30, 2021, 7:51 PM

                        @johnpoz It's been working and I'm streaming music now without interruption or static. So if this stays like this it was the NTOPNG being analyzed as an attacker for some reason. Is there any way to whitelist NTOPNG?

                        Update: The Unifi Messages have stopped saying disconnected from Netgate.

                        J 1 Reply Last reply Aug 30, 2021, 8:34 PM Reply Quote 0
                        • J
                          johnpoz LAYER 8 Global Moderator @dragonfire1119
                          last edited by johnpoz Aug 30, 2021, 11:22 PM Aug 30, 2021, 8:34 PM

                          Well when you have some time, we can re-enable it and go over the settings and see what could be causing the issue.

                          I will have to fire it up and refresh my memory on its features.. Use to use it all the time, outside of pfsense back in the day.. But never really needed it on home network..

                          edit: switch just got here - man is that tiny! ;)

                          login-to-view

                          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

                          M D 2 Replies Last reply Aug 30, 2021, 11:24 PM Reply Quote 0
                          • M
                            mcury @johnpoz
                            last edited by mcury Aug 30, 2021, 11:24 PM Aug 30, 2021, 11:24 PM

                            @johnpoz man, that is a nice beer =)

                            dead on arrival, nowhere to be found.

                            J 1 Reply Last reply Aug 31, 2021, 3:21 AM Reply Quote 0
                            • D
                              dragonfire1119 @johnpoz
                              last edited by Aug 31, 2021, 12:21 AM

                              @johnpoz wow, that thing is tiny! I don't think that one has POE or anything?

                              J 1 Reply Last reply Aug 31, 2021, 3:23 AM Reply Quote 0
                              • J
                                johnpoz LAYER 8 Global Moderator @mcury
                                last edited by johnpoz Aug 31, 2021, 3:25 AM Aug 31, 2021, 3:21 AM

                                @mcury hehe not really my fav, but its very drinkable on a hot day that is for sure. It was on sale a few days back, $8 for a 12er - limit 2, so got 2.. And yeah have to sport the correct glassware..

                                Needed something to compare with scale, and didn't have a banana handy - hehehe.. Some of you sure will get that joke. If you hang out on the net you will.

                                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 1
                                • J
                                  johnpoz LAYER 8 Global Moderator @dragonfire1119
                                  last edited by johnpoz Aug 31, 2021, 3:50 AM Aug 31, 2021, 3:23 AM

                                  @dragonfire1119 No it can be powered by poe, but no doesn't output any poe.. Will hook it up in the morning to the controller. But damn the thing is tiny..

                                  I could see how they could be handy - especially in a place where you might have some equipment but not any extra power outlets because you can power the thing via poe.

                                  edit: Well got it adopted and updated its firmware. It sees pfsense on the vlan its currently on.. And it sees the mac of switch its connected my sg300-28

                                  login-to-view

                                  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

                                  J 1 Reply Last reply Aug 31, 2021, 2:07 PM Reply Quote 0
                                  • J
                                    johnpoz LAYER 8 Global Moderator @johnpoz
                                    last edited by johnpoz Aug 31, 2021, 2:17 PM Aug 31, 2021, 2:07 PM

                                    Ok - switch has been online for a few hours now.. Since last night. And am seeing these disconnection notices.. This doesn't make a lot of sense.. Clearly the switch didn't freaking go down.. And if the connection did go down - then where is the notification that pfsense went down? They are connected via the same wire, the uplink to my sg300-28

                                    login-to-view

                                    Ok I think this is related to the "trunk" or all profile.. It is seeing the sg300 internal mac.. And this is most likely being seen on both "networks" from unifi point of view.. Is so that is just shit show on unifi part. Going to change the port on sg300 back to access with only 1 untagged vlan being sent to the unifi switch and see if these go away..

                                    Ok switched at say 9:17 - lets see if see any more of those disconnects after that timestamp

                                    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
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Aug 31, 2021, 2:29 PM

                                      Yeah it has to be the same MAC address appearing in different segments.

                                      J 1 Reply Last reply Aug 31, 2021, 2:37 PM Reply Quote 0
                                      • J
                                        johnpoz LAYER 8 Global Moderator @stephenw10
                                        last edited by Aug 31, 2021, 2:37 PM

                                        @stephenw10 yeah - what a shit show from unifi.. Its only been like 15 minutes, but since I changed to only send 1 vlan (untagged) down that link no more alerts.

                                        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

                                        M 1 Reply Last reply Aug 31, 2021, 3:09 PM Reply Quote 0
                                        • M
                                          mcury @johnpoz
                                          last edited by Aug 31, 2021, 3:09 PM

                                          Isn't that switch port-based VLANs only?

                                          dead on arrival, nowhere to be found.

                                          J 1 Reply Last reply Aug 31, 2021, 3:42 PM Reply Quote 0
                                          46 out of 85
                                          • First post
                                            46/85
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.