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

    Awfully slow transfer speeds from remote NAS over ZeroTier

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 5 Posters 977 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

      That's 355 KB/s (kilo-Bytes per second) or 2.8Mbps. That's still far short of 400Mbps though. I assume you mean 16MB/s (128Mbps) without pfSense. Still well below 400 but obviously much higher.

      What traffic did you actually see blocked?
      Just passing that traffic would not usually help because of NAT but the fact anything is blocked could be a clue.

      Such a restriction usually points to something low level like a bad link somewhere. Do you see the expected speeds when not using the VPN?

      R 1 Reply Last reply Reply Quote 0
      • R
        rheuer22 @stephenw10
        last edited by

        @stephenw10 Correct, 16MB/s aka 128mbps which is far less than what I am getting, but much faster than before. UDP traffic from the NAS was being blocked over WAN.

        I cannot access the NAS without VPN, so there is no way to test that theory. Network works great, I haven't had any speed issues until I got this set up.

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

          But you see the expected WAN speeds up and down at both ends? Through pfSense?

          R 1 Reply Last reply Reply Quote 0
          • R
            rheuer22 @stephenw10
            last edited by

            @stephenw10 I was able to resolve this after more troubleshooting. thanks!

            bmeeksB 1 Reply Last reply Reply Quote 1
            • bmeeksB
              bmeeks @rheuer22
              last edited by bmeeks

              @rheuer22 said in Awfully slow transfer speeds from remote NAS over ZeroTier:

              @stephenw10 I was able to resolve this after more troubleshooting. thanks!

              For someone in the future who might have a similar issue and finds this thread via a search, would you mind sharing what you found that resolved the slow remote transfer speeds for you?

              R 1 Reply Last reply Reply Quote 4
              • GertjanG
                Gertjan @rheuer22
                last edited by

                @rheuer22 said in Awfully slow transfer speeds from remote NAS over ZeroTier:

                I cannot access the NAS without VPN, so there is no way to test that theory. Network works great, I haven't had any speed issues until I got this set up.

                But you can do this : https://forum.netgate.com/topic/195855/weird-slow-openvpn-connection/4 and suddenly you have a full 1 Giga bits /sec or 125 Mbytes / sec connection between your test device (using OpenVPN, or, why not testing without it also while you're at it), pfSense in the middle, and a NAS on the pfSense LAN.
                I'm pretty sure that that pfSense (the OpenVPN process actually) can handle just fine many M bytes / sec. It's more a "what processor do you use ?" question.
                And its always a "how did you set it up question" ๐Ÿ˜Š

                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
                • R
                  rheuer22 @bmeeks
                  last edited by

                  @bmeeks I was able to resolve after turning on UPnP & NAT-PMP on pfSense. I didn't realize ZT would need to have that on to dynamically map external ports and avoid NAT traversal.

                  bmeeksB 1 Reply Last reply Reply Quote 1
                  • bmeeksB
                    bmeeks @rheuer22
                    last edited by bmeeks

                    @rheuer22 said in Awfully slow transfer speeds from remote NAS over ZeroTier:

                    @bmeeks I was able to resolve after turning on UPnP & NAT-PMP on pfSense. I didn't realize ZT would need to have that on to dynamically map external ports and avoid NAT traversal.

                    Thanks for the follow-up. Just thought it would be helpful to another user in the future that might experience the same issue to find a solution in your thread.

                    I know I have personally found threads on other forums when searching where the problem matched something I was experiencing at the time, but the original poster closed out their discussion thread with the equivalent of "I solved it", but without saying how ๐Ÿ™‚.

                    R 1 Reply Last reply Reply Quote 1
                    • R
                      rheuer22 @bmeeks
                      last edited by

                      @bmeeks No problem! I should have posted the solution initially. Makes sense, it will be helpful for others!

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

                        Yup good to know that about zerotier, I wouldn't have thought it was required.

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          Gblenn @stephenw10
                          last edited by Gblenn

                          @stephenw10 said in Awfully slow transfer speeds from remote NAS over ZeroTier:

                          Yup good to know that about zerotier, I wouldn't have thought it was required.

                          According to the documentation, it is not required for holepunching, but they do refer to challenges with symmetric NAT.
                          https://docs.zerotier.com/corporate-firewalls/#:~:text=Default%20zerotier%2Done%20listening%20ports,ZeroTier%20hole%20punching%20to%20work))

                          @rheuer22 Perhaps try to set Static Port (Hybrid outbound rules), to see if that has a similar effect?

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