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

    [Solved] Windows Share not working but SMB-share on Linux Server working

    Scheduled Pinned Locked Moved IPsec
    11 Posts 5 Posters 1.9k 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.
    • B
      Birke
      last edited by

      Hi,

      • what rules do you have for ipsec and lan?
        Make sure you open ports 137, 138 UDP and 137, 139, 445 TCP. The NAS might use older SMB-Versions

      • can the windows-shares be accessed by other Win10 machines on the same network? Or do you have older Windows machines with win7 to test with?

      • are the windows users the same or are they different?
        If they are different: open the internetoptions and in tab security open the settings for local intranet. There is a point with user authentication. Change it from "automatic logon only in intranet" to "ask for user/pw". Then try again.
        If you are asked for user/pw, then the sharing should work and it was an authentication-error.

      1 Reply Last reply Reply Quote 0
      • S
        SysErr_01
        last edited by

        Hi Birke,

        thx for answering and helping me.

        • on IPSEC i have "allow any to any" like on WAN (Only one Adapter is assigned, since pfsense is only a client for the tunnel behind the router).
        • The shares on the Win10 machines can be accessed by other Win10 machines within the same subnet on each site. I do not have any Win7 machines
        • Windows Users are always the same with the same passwords. BTW there is no AD involved.
        • i tried your tip (ask for u/pw) but it did not help

        What i tried else:
        I activated "any Flag" in the rules for all four rules (WAN rule and IPSEC rule on each site)

        I also configured an OpenVPN server on the pfsense, but there are the same problems. The OpenVPN server-pkg on the Qnap does route the smb packets through but is extremely slow.

        Would screenshots of the settings be of any use?

        1 Reply Last reply Reply Quote 0
        • NogBadTheBadN
          NogBadTheBad
          last edited by

          What version of SMB?

          W10 dropped support for SMB1 a month or so ago.

          https://www.windowscentral.com/how-access-files-network-devices-using-smbv1-windows-10

          Andy

          1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

            @syserr_01 said in Windows Share not working but SMB-share on Linux Server working:

            RST, ACK

            If your seeing RST that is CLOSURE of the connection.. Running a vpn into a box on your lan, ie your qnap is going to more than likely cause you to have asymmetrical issues.

            If you are sniffing when you try to access the file share - posting such a sniff as a pcap so can open in wireshark will more than likely shed some light to your problem. But RST is something telling you to F off!!

            Host or host firewall could for sure be doing that - normally firewalls do not send RST unless configured specifically to do that, and then they should only do that when the traffic is local. You would never want to answer an outside connection..

            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
            • S
              SysErr_01
              last edited by SysErr_01

              Thank you NogBadTheBad, but since the shares work when i am in the same subnet (physically), do you thinbk it really can be the abandonment of smb1?

              Thank you very much johnpoz, i upload the pcapng-file. My local machine in my homesubnet (site-home: 192.168.1.0/24) is 192.168.1.247, the pfsense-home is on 192.168.1.250, the router on 192.168.1.1. The machine i want to reach in the office-subnet (site-office: 192.168.10.0/24) is 192.168.10.110, the pfsense-office is on 192.168.10.250 and the router is 192.168.10.1.

              So do you think the RST is sent by one of the routers (or should i better call them gateways?)?

              I hope you can help me further!

              0_1539014568847_smb not working.pcapng

              NogBadTheBadN 1 Reply Last reply Reply Quote 0
              • NogBadTheBadN
                NogBadTheBad @SysErr_01
                last edited by

                @syserr_01 said in Windows Share not working but SMB-share on Linux Server working:

                Thank you NogBadTheBad, but since the shares work when i am in the same subnet (physically), do you thinbk it really can be the abandonment of smb1?

                Nope.

                Just I came across the W10 SMB1 issue the weekend round at a friends, thought maybe it was that, I missed your comment about the RST & ACKs.

                Andy

                1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

                  Looks like you auth fine - but there there is some sort of problem for sure See all the retrans..

                  0_1539015758080_smbproblems.png

                  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
                  • S
                    SysErr_01
                    last edited by

                    But you can not see, where the problem could be found? Maybe i should really change my DD-WRT router to a pfsense-appliance. i do not know why, but i guess that the problem is soimewhere in the "virtual switch" of the Qnap, where the pfsense is residing on, or the DD-WRT router.

                    1 Reply Last reply Reply Quote 0
                    • S
                      SysErr_01
                      last edited by SysErr_01

                      I changed on the Phase 2 on both ends:
                      Local network: "Network" and not "XYZ subnet"
                      And i disabled Hardware checksum offload.

                      Now i am able to reach the shares at least of one of the windows 10 machines. The other Machine still has a bitdefender firewall running, that i try to turn of, to see if that also works.

                      EDIT:
                      I was able to turn of the Bitdefender firewall again. Voila: Shares are accessible through Tunnel.

                      So for all Virtual Machine driven pfsense installations on Qnap: Turn of Hardware checksum offload and in IPsec tell him exactly what networks you are running. Do not trust the "XYL subnet" option.

                      1 Reply Last reply Reply Quote 0
                      • K
                        kyrosdigital Banned
                        last edited by

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