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

    Synology Package Manager Issue

    Scheduled Pinned Locked Moved General pfSense Questions
    24 Posts 5 Posters 1.7k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Those are expected blocks from out of state TCP traffic:
      https://docs.netgate.com/pfsense/en/latest/troubleshooting/log-filter-blocked.html#troubleshooting-blocked-log-entries-for-legitimate-connection-packets

      I would check it's not a DNS issue. make sure the NAS can still resolve when this happens.

      Steve

      J 1 Reply Last reply Reply Quote 0
      • M
        michmoor LAYER 8 Rebel Alliance @jabren
        last edited by

        @jabren said in Synology Package Manager Issue:

        Reloading makes it work, but after a day or two, it will go back to not working,

        That doesnt make any sense. If it works because of a matching rule than it works. If it "stops" working is because of another rule that would prevent the flow. is placed above it or a more specific rule denying it.
        Its your LAN rules that we are concerned with. Inbound WAN rules dont matter.

        Firewall: NetGate,Palo Alto-VM,Juniper SRX
        Routing: Juniper, Arista, Cisco
        Switching: Juniper, Arista, Cisco
        Wireless: Unifi, Aruba IAP
        JNCIP,CCNP Enterprise

        1 Reply Last reply Reply Quote 0
        • J
          jabren @stephenw10
          last edited by

          @stephenw10 I may need to wait a day or two for the issue to come up again. After the reboot, everything is working fine.

          NollipfSenseN 1 Reply Last reply Reply Quote 0
          • NollipfSenseN
            NollipfSense @jabren
            last edited by

            @jabren as @michmoor had said it doesn't make sense...I have never seen a firewall rule stop working...out of the blue.

            pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
            pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

              ...feels like DNS

              J 1 Reply Last reply Reply Quote 0
              • J
                jabren @stephenw10
                last edited by

                @stephenw10 DNS as in PFSENSE having issues resolving or the DNS servers I have setup are faulty.

                FYI, I use the following

                DNS 1: IP of PFSENSE
                DNS 2: 1.0.0.1
                DNS 3: 8.8.8.8

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

                  Could be either pfSense or the NAS directly. Seems unlikely those three would fail if set on the NAS though.

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

                    @jabren all of that is out of state.. You need to figure out why that is happening.. You have some asymmetrical setup maybe. Your loosing internet or your ping goes to high and you have pfsense set to reset states?

                    But yeah every single one of those blocks are out of state blocks. Client should just create a new session. Is your nas multihomed - ie does it have a leg in more then one network... Ie this 192.168.24 and 192.168.107? That can cause all kinds of weirdness.. If not careful on how you set that up..

                    Or does this pc have multiple connections in both networks?

                    edit:
                    example of this, even the best of us ;) can run into a doh moment.. I had setup a network on my nas 192.168.2/24 so I could do some iperf testing across pfsense.. Had source natted the traffic so when I talked to the 192.168.2 address from my 192.168.9 network the nas answered back via its 192.168.2 address.

                    This was meant to be just a temp thing for a hey can my pfsense route at gig for some other thread ;)

                    I forgot to turn it off.. Then on my phone I was access shares off its 192.168.9.10 address, but my phone was on the 192.168.2 wireless network.. Sometimes it would work, sometimes it would fail - I could access one share, but not another one, etc. etc.. all weird..

                    Well guess what - the client had a 192.168.2 address, so vs the nas sending traffic back via its 192.168.9 address it would say oh I have a interface in the 192.168.2 and try and answer with that.. which would fail because it was out of state..

                    Multihoming devices can lead into all kinds of issues if your not careful, and fully understand what can happen when you set that up.. And what your talking to and what that something your talking to might answer back with, etc.

                    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 Reply Quote 2
                    • J
                      jabren @johnpoz
                      last edited by

                      @johnpoz The NAS only has a single network. The 192.168.107 are IOT devices which the firewall only has a rule that allows from main to IOT. I noticed SNORT config still exist on the config.xml file. I’m not sure if it causes any issues (since I did uninstall of snort). It may not even be an issue, but worth bringing up.

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

                        @jabren your blocks are all out of state.. There are FA, which means client is trying to close the session, but maybe it was closed already?

                        I just noticed you have outbound traffic being blocked as well that 24.1 talking to 24.10 on 32400 (plex?) which is a RA, with push flag.. Why are you blocking outbound traffic? That has to be a floating rule..

                        What is 24.1? I would "guess" that is pfsense IP?? maybe not.. But your blocking outbound traffic.. What are you floating rules?

                        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 Reply Quote 0
                        • J
                          jabren @johnpoz
                          last edited by

                          @johnpoz 24.1 is the pfsense. No floating rules defined.

                          IMG_0288.jpeg

                          I have a port forward WAN -> plex:32400

                          IMG_0289.jpeg

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

                            @jabren did you edit the rules since you posted those blocks? The only way you can get an outbound block is with floating rules. Unless IPS can do it - but I don't think so, I don't use either of the IPS packages on any sort of reg bases..

                            outblock.jpg

                            A port forward on your wan wouldn't come from a 192.168.24.1 address, unless you were also doing an outbound nat (ie source natting) traffic. Or you have rfc1918 on your wan?

                            But says that is the default rule?? Very odd.. Possible some odd thing happening with your states and they are being reset.. Are you interfaces going up and down, or seeing slow pings?

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

                              Outbound traffic will still be blocked if it's out of state. Which that is. None of those block logs look like they would cause this.

                              1 Reply Last reply Reply Quote 0
                              • J
                                jabren @johnpoz
                                last edited by

                                @johnpoz I have not edited any rules.

                                outbound NAT is as follows
                                IMG_0290.jpeg

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

                                  @jabren yeah as mentioned by @stephenw10 outbound would be blocked.. But that is odd, like the states went away while in the middle of traffic?

                                  # default deny rules
                                  block in  inet all ridentifier 1000000103 label "Default deny rule IPv4"
                                  block out  inet all ridentifier 1000000104 label "Default deny rule IPv4"
                                  block in  inet6 all ridentifier 1000000105 label "Default deny rule IPv6"
                                  block out  inet6 all ridentifier 1000000106 label "Default deny rule IPv6"
                                  

                                  Or the traffic is coming from pfsense itself - what is that 24.1 address, is that pfsense IP?

                                  edit: what is the point of that specific outbound that your natting to your wan address, which is already natted by the auto rules, that lists 192.168.24.0/24..

                                  edit2: doh, never mind that is a static nat for your xbox - doh! ;)

                                  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 Reply Quote 1
                                  • J
                                    jabren @johnpoz
                                    last edited by

                                    @johnpoz Ok so…. I did a factory reset and only restored firewall, aliases and DHCP server settings (for static mappings). No new packages installed aside from wireguard. I had NAT reflection which this time around I left it all default. So far, today everything seems to be fine. I’ll post if anything changes. I do want to know what the issue was, so I’ll be adding my previous configurations one by one to see what may have caused it.

                                    M 1 Reply Last reply Reply Quote 1
                                    • M
                                      michmoor LAYER 8 Rebel Alliance @jabren
                                      last edited by

                                      @jabren said in Synology Package Manager Issue:

                                      so I’ll be adding my previous configurations one by one to see what may have caused it.

                                      Thats a good idea. For each configuration you add back wait a day before adding the next one.

                                      Firewall: NetGate,Palo Alto-VM,Juniper SRX
                                      Routing: Juniper, Arista, Cisco
                                      Switching: Juniper, Arista, Cisco
                                      Wireless: Unifi, Aruba IAP
                                      JNCIP,CCNP Enterprise

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