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

QNAP pfSense dropout

General pfSense Questions
3
37
1.6k
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.
  • S
    stephenw10 Netgate Administrator
    last edited by Dec 22, 2024, 3:50 AM

    By 'locked up' I assume you mean just stopped passing traffic because it looks like you were still able to login to it?

    P 1 Reply Last reply Dec 22, 2024, 4:04 AM Reply Quote 0
    • P
      ppal @stephenw10
      last edited by ppal Dec 22, 2024, 4:05 AM Dec 22, 2024, 4:04 AM

      @stephenw10 The issue is with the WAN—packet loss and loss of internet—but I can still access the system via LAN. Rebooting sometimes resolves it, but only for hours or minutes.

      I suspect it’s a settings issue. I’ve had similar issues with this ISP when running pfSense on an old PC. However, the ISP-supplied router runs without issues for months, so the service itself seems fine.

      I’m considering a Netgate appliance to remove uncertainties, but I believe the problem lies with the QNAP VM. I’ve experienced the same issue with OPNSense and SOPHOS Home on the VM: internet loss while LAN stays functional.

      Swapping the LAN/WAN ports yields the same result, so it doesn’t seem to be a port-specific problem.

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Dec 23, 2024, 11:21 AM

        Hmm, well those tests seem to imply the VM setup is an issue I agree. However if it does the same thing using pfSense baremetal on an old PC that implies it isn't. So hard to say at this stage. 😕

        Probably need a new baremetal test to confirm if you can.

        P 1 Reply Last reply Dec 25, 2024, 1:53 PM Reply Quote 0
        • P
          ppal @stephenw10
          last edited by ppal Dec 25, 2024, 2:02 PM Dec 25, 2024, 1:53 PM

          @stephenw10 some digging - Upstream Traffic: Set DSCP to 0. - how do I get to this setting. Somewhere in the firewall ?
          To use a non-Telstra-provided Gateway, the device must:
          • Support WAN on an Ethernet port. If not, please consider purchasing a business gateway from us.
          • Support xDSL port for VDSL with Vectoring (FTTN & FTTB deployments only).
          • Use Ethernet full duplex with auto-negotiation on so that the gateway signals to UNI-D (nbn network
          termination device port) that it’s full duplex capable, avoiding duplex mismatch (excluding FTTN &
          FTTB deployments).
          • Operate as a gateway with a single MAC address assigned to the port.
          • Not configured as a bridge or hub.
          • Support NAT.
          • Use DHCPv4 to ‘request’ the IP address (this is essential to create the IP session on our service
          edge. The DHCP response will contain DNS information, as well as the allocated static address). The
          network will return both IPv4 and IPv6 assigned address information.
          • Be configured to transmit all upstream data untagged.
          • Not use 802.1p priority or VLAN tagging as this will be ignored (subject to change).
          TELSTRA CORPORATION LIMITED (ABN 33 051 775 556) | PRINTED 24/10/2016 BYO GATEWAY GUIDE WITH TELSTRA BUSINESS BROADBAND ON THE NBN
          PAGE 2/4
          • Be configured to mark all upstream traffic to ‘DSCP 0’ (zero).
          • Ensure the L2 maximum frame size (also known as Maximum Transfer Unit - MTU) of no larger than
          1500 octets.
          • Shape upstream traffic to the Speed Level of the service purchased (e.g. shape upstream to 5Mbps
          on a Speed Level 2 service i.e. 25Mbps downstream, 5 Mbps upstream).
          https://www.telstra.com.au/content/dam/tcom/business-enterprise/support/pdf/byo-gateway-guide-telstra-business-broadband-on-nbn.pdf

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Dec 26, 2024, 12:07 AM

            pfSense can match on DSCP but does not set it:
            https://docs.netgate.com/pfsense/en/latest/firewall/configure.html#diffserv-code-point

            @ppal said in QNAP pfSense dropout:

            Shape upstream traffic to the Speed Level of the service purchased (e.g. shape upstream to 5Mbps
            on a Speed Level 2 service i.e. 25Mbps downstream, 5 Mbps upstream).

            This looks like a more likely potential problem if they enforce that by blocking traffic when it's not shaped.

            P 1 Reply Last reply Jan 22, 2025, 8:36 AM Reply Quote 0
            • P
              ppal @stephenw10
              last edited by Jan 22, 2025, 8:36 AM

              @stephenw10 I added a 4 NIC Card into the NAS. Default Install and then set MTU to 1462. Now getting
              Jan 22 08:27:00 php-cgi 21877 servicewatchdog_cron.php: Service Watchdog detected service kea-dhcp4 stopped. Restarting kea-dhcp4 (Kea DHCP Server)
              Jan 22 08:27:15 php-cgi 95738 notify_monitor.php: Message sent to pranesh@pal.id.au OK
              Jan 22 08:28:00 php-cgi 64510 servicewatchdog_cron.php: Service Watchdog detected service unbound stopped. Restarting unbound (DNS Resolver)
              Jan 22 08:28:00 php-cgi 64510 servicewatchdog_cron.php: Service Watchdog detected service kea-dhcp4 stopped. Restarting kea-dhcp4 (Kea DHCP Server)
              Jan 22 08:28:20 php-cgi 95738 notify_monitor.php: Message sent to pranesh@pal.id.au OK
              Jan 22 08:29:00 php-cgi 42905 servicewatchdog_cron.php: Service Watchdog detected service unbound stopped. Restarting unbound (DNS Resolver)
              Jan 22 08:29:00 php-cgi 42905 servicewatchdog_cron.php: Service Watchdog detected service kea-dhcp4 stopped. Restarting kea-dhcp4 (Kea DHCP Server)
              every minute filling my Inbox. Any thoughts?

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Jan 22, 2025, 10:43 AM

                Don't run the service watchog like that? Really it should only be used for troubleshooting.

                If it's not enabled do those services just stop?

                What NIC was it? Are you passing through the NICs to the VM?

                P 1 Reply Last reply Jan 22, 2025, 11:58 AM Reply Quote 0
                • P
                  ppal @stephenw10
                  last edited by Jan 22, 2025, 11:58 AM

                  @stephenw10 Yes the NICs allocated to VM via virtual switches. NICs is QNAP badged with intel chipset. The services stop when email notification is turned off. When notification is turned on the WAN connection is maintained but email sent every minute . Don’t know why disabling email stops WAN.

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Jan 22, 2025, 1:59 PM

                    Check the dhcp and resolver logs if nothing is shown in the system log. They must be stopping for some reason.

                    Also check resource in Status > Monitoring Graphs you might be hitting some exhaustion.

                    If they are connected via vswitches then they are not 'passed through' directly. The NICs appear as virtioX in pfSense?

                    P 1 Reply Last reply Jan 22, 2025, 10:12 PM Reply Quote 0
                    • P
                      ppal @stephenw10
                      last edited by Jan 22, 2025, 10:12 PM

                      @stephenw10
                      Hi
                      Resolver Logs
                      🔒 Log in to view but nothing for today. This was yesterday.

                      Ports appear as
                      🔒 Log in to view . Currently using VirtIO but have also tried Intel Gigabit option. When using VirtIO "Speed and Duplex" only available as autoselect under "WAN". If using Intel option then 10, 100 and 1000 speed option available. QNAP recommend VirtIO and to tick disable hardware checksum offloading. Don't know what specific graphs to look at but this PFSENSE is a test box with basically one iPAD connected with me on chess.com.

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Jan 23, 2025, 1:02 AM

                        Nothing in the system log showing those services failing?

                        I wouldn't expect the NICs to make any difference there.

                        P 1 Reply Last reply Jan 28, 2025, 11:54 PM Reply Quote 0
                        • P
                          ppal @stephenw10
                          last edited by Jan 28, 2025, 11:54 PM

                          @stephenw10 How would i go about replicating this in pfSense
                          🔒 Log in to view

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by Jan 29, 2025, 12:43 AM

                            Well I would start by just enabling the igmp proxy and see if that accomplishes what you need with the default options.

                            https://docs.netgate.com/pfsense/en/latest/services/igmp-proxy.html

                            There are some custom options you can use via a custom conf file if required:
                            https://man.freebsd.org/cgi/man.cgi?query=igmpproxy.conf

                            But igmpproxy is best avoided if at all possible IMO. What are you actually trying to do?

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