Allow NetBIOS lookup with firewalld

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I just upgraded OpenSUSE from Leap 42.3 to Leap 15.0, and with this upgrade, OpenSUSE moved its default firewall application from SuSEfirewall2 to Firewalld. I opted not to use the susefirewall2-to-firewalld script for migration, but to rebuild my rules from scratch. However, I cannot seem to allow NetBIOS queries to return successfully on my client machine. I have enabled both the samba and samba-client services in Firewalld.



For a host hostname, which I can ping because of DNS or access by IP address, and from which I can access my OpenSUSE machine via Samba, I try:



> nmblookup hostname
name_query failed to find name hostname


What else do I need to do to allow a NetBIOS query to succeed?










share|improve this question

























    up vote
    0
    down vote

    favorite












    I just upgraded OpenSUSE from Leap 42.3 to Leap 15.0, and with this upgrade, OpenSUSE moved its default firewall application from SuSEfirewall2 to Firewalld. I opted not to use the susefirewall2-to-firewalld script for migration, but to rebuild my rules from scratch. However, I cannot seem to allow NetBIOS queries to return successfully on my client machine. I have enabled both the samba and samba-client services in Firewalld.



    For a host hostname, which I can ping because of DNS or access by IP address, and from which I can access my OpenSUSE machine via Samba, I try:



    > nmblookup hostname
    name_query failed to find name hostname


    What else do I need to do to allow a NetBIOS query to succeed?










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I just upgraded OpenSUSE from Leap 42.3 to Leap 15.0, and with this upgrade, OpenSUSE moved its default firewall application from SuSEfirewall2 to Firewalld. I opted not to use the susefirewall2-to-firewalld script for migration, but to rebuild my rules from scratch. However, I cannot seem to allow NetBIOS queries to return successfully on my client machine. I have enabled both the samba and samba-client services in Firewalld.



      For a host hostname, which I can ping because of DNS or access by IP address, and from which I can access my OpenSUSE machine via Samba, I try:



      > nmblookup hostname
      name_query failed to find name hostname


      What else do I need to do to allow a NetBIOS query to succeed?










      share|improve this question













      I just upgraded OpenSUSE from Leap 42.3 to Leap 15.0, and with this upgrade, OpenSUSE moved its default firewall application from SuSEfirewall2 to Firewalld. I opted not to use the susefirewall2-to-firewalld script for migration, but to rebuild my rules from scratch. However, I cannot seem to allow NetBIOS queries to return successfully on my client machine. I have enabled both the samba and samba-client services in Firewalld.



      For a host hostname, which I can ping because of DNS or access by IP address, and from which I can access my OpenSUSE machine via Samba, I try:



      > nmblookup hostname
      name_query failed to find name hostname


      What else do I need to do to allow a NetBIOS query to succeed?







      opensuse firewalld






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 11 mins ago









      palswim

      1,29611629




      1,29611629




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          As a result of a discussion about this issue from the Fedora Mailing-Lists, I added port 137 UDP to the Source Port list for the samba-client Service in Firewalld (with the firewall-config tool), which enabled the nmblookup call to succeed.



          firewalld configuration, with the firewall-config tool






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477883%2fallow-netbios-lookup-with-firewalld%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            As a result of a discussion about this issue from the Fedora Mailing-Lists, I added port 137 UDP to the Source Port list for the samba-client Service in Firewalld (with the firewall-config tool), which enabled the nmblookup call to succeed.



            firewalld configuration, with the firewall-config tool






            share|improve this answer
























              up vote
              0
              down vote













              As a result of a discussion about this issue from the Fedora Mailing-Lists, I added port 137 UDP to the Source Port list for the samba-client Service in Firewalld (with the firewall-config tool), which enabled the nmblookup call to succeed.



              firewalld configuration, with the firewall-config tool






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                As a result of a discussion about this issue from the Fedora Mailing-Lists, I added port 137 UDP to the Source Port list for the samba-client Service in Firewalld (with the firewall-config tool), which enabled the nmblookup call to succeed.



                firewalld configuration, with the firewall-config tool






                share|improve this answer












                As a result of a discussion about this issue from the Fedora Mailing-Lists, I added port 137 UDP to the Source Port list for the samba-client Service in Firewalld (with the firewall-config tool), which enabled the nmblookup call to succeed.



                firewalld configuration, with the firewall-config tool







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 11 mins ago









                palswim

                1,29611629




                1,29611629



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477883%2fallow-netbios-lookup-with-firewalld%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?