How to change port from filtered to open





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I had done the port forwarding on port 4444 and im using gufw as firewall but when i'm using nmap the port shows as filtered not open.



PORT STATE SERVICE
4444/tcp filtered krb524



If i remove the firewall the port gets closed even the port forward is still there.



PORT STATE SERVICE
4444/tcp closed krb524



How can i open the port ( with or without the firewall doesn't matter) ? I do have a dynamic ip but im using a dns to get the ip and the port forward is on dns.



Thanks.










share|improve this question





























    1















    I had done the port forwarding on port 4444 and im using gufw as firewall but when i'm using nmap the port shows as filtered not open.



    PORT STATE SERVICE
    4444/tcp filtered krb524



    If i remove the firewall the port gets closed even the port forward is still there.



    PORT STATE SERVICE
    4444/tcp closed krb524



    How can i open the port ( with or without the firewall doesn't matter) ? I do have a dynamic ip but im using a dns to get the ip and the port forward is on dns.



    Thanks.










    share|improve this question

























      1












      1








      1








      I had done the port forwarding on port 4444 and im using gufw as firewall but when i'm using nmap the port shows as filtered not open.



      PORT STATE SERVICE
      4444/tcp filtered krb524



      If i remove the firewall the port gets closed even the port forward is still there.



      PORT STATE SERVICE
      4444/tcp closed krb524



      How can i open the port ( with or without the firewall doesn't matter) ? I do have a dynamic ip but im using a dns to get the ip and the port forward is on dns.



      Thanks.










      share|improve this question














      I had done the port forwarding on port 4444 and im using gufw as firewall but when i'm using nmap the port shows as filtered not open.



      PORT STATE SERVICE
      4444/tcp filtered krb524



      If i remove the firewall the port gets closed even the port forward is still there.



      PORT STATE SERVICE
      4444/tcp closed krb524



      How can i open the port ( with or without the firewall doesn't matter) ? I do have a dynamic ip but im using a dns to get the ip and the port forward is on dns.



      Thanks.







      networking server dns firewall nmap






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 22 '16 at 17:33









      clint rockclint rock

      912




      912






















          2 Answers
          2






          active

          oldest

          votes


















          0














          A port being "open" means there is a service listening on that port. If it is "closed" then the OS and firewall are not preventing communication on that port, but there is no service which is listening. You have to start a process on your machine that will listen on that port.






          share|improve this answer
























          • That means i have to start the krb524 service right ? or it means that i can start any proces on that port and it will open automatic ?

            – clint rock
            Nov 23 '16 at 9:30













          • @clintrock yes, any service which chooses to listen on that port. Trivial example using netcat: nc -l 4444

            – bonsaiviking
            Nov 23 '16 at 15:25



















          0














          from the command line, you want to do this:



          sudo ufw allow 4444 
          sudo ufw allow out 4444


          Not really sure how to do it with the gui, but if you can run nmap, you can run the above.
          Nmap should then report the port as open - at least from that machine.
          If it doesn't work after that, there's likely something else in between






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f852398%2fhow-to-change-port-from-filtered-to-open%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            A port being "open" means there is a service listening on that port. If it is "closed" then the OS and firewall are not preventing communication on that port, but there is no service which is listening. You have to start a process on your machine that will listen on that port.






            share|improve this answer
























            • That means i have to start the krb524 service right ? or it means that i can start any proces on that port and it will open automatic ?

              – clint rock
              Nov 23 '16 at 9:30













            • @clintrock yes, any service which chooses to listen on that port. Trivial example using netcat: nc -l 4444

              – bonsaiviking
              Nov 23 '16 at 15:25
















            0














            A port being "open" means there is a service listening on that port. If it is "closed" then the OS and firewall are not preventing communication on that port, but there is no service which is listening. You have to start a process on your machine that will listen on that port.






            share|improve this answer
























            • That means i have to start the krb524 service right ? or it means that i can start any proces on that port and it will open automatic ?

              – clint rock
              Nov 23 '16 at 9:30













            • @clintrock yes, any service which chooses to listen on that port. Trivial example using netcat: nc -l 4444

              – bonsaiviking
              Nov 23 '16 at 15:25














            0












            0








            0







            A port being "open" means there is a service listening on that port. If it is "closed" then the OS and firewall are not preventing communication on that port, but there is no service which is listening. You have to start a process on your machine that will listen on that port.






            share|improve this answer













            A port being "open" means there is a service listening on that port. If it is "closed" then the OS and firewall are not preventing communication on that port, but there is no service which is listening. You have to start a process on your machine that will listen on that port.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 22 '16 at 19:28









            bonsaivikingbonsaiviking

            39115




            39115













            • That means i have to start the krb524 service right ? or it means that i can start any proces on that port and it will open automatic ?

              – clint rock
              Nov 23 '16 at 9:30













            • @clintrock yes, any service which chooses to listen on that port. Trivial example using netcat: nc -l 4444

              – bonsaiviking
              Nov 23 '16 at 15:25



















            • That means i have to start the krb524 service right ? or it means that i can start any proces on that port and it will open automatic ?

              – clint rock
              Nov 23 '16 at 9:30













            • @clintrock yes, any service which chooses to listen on that port. Trivial example using netcat: nc -l 4444

              – bonsaiviking
              Nov 23 '16 at 15:25

















            That means i have to start the krb524 service right ? or it means that i can start any proces on that port and it will open automatic ?

            – clint rock
            Nov 23 '16 at 9:30







            That means i have to start the krb524 service right ? or it means that i can start any proces on that port and it will open automatic ?

            – clint rock
            Nov 23 '16 at 9:30















            @clintrock yes, any service which chooses to listen on that port. Trivial example using netcat: nc -l 4444

            – bonsaiviking
            Nov 23 '16 at 15:25





            @clintrock yes, any service which chooses to listen on that port. Trivial example using netcat: nc -l 4444

            – bonsaiviking
            Nov 23 '16 at 15:25













            0














            from the command line, you want to do this:



            sudo ufw allow 4444 
            sudo ufw allow out 4444


            Not really sure how to do it with the gui, but if you can run nmap, you can run the above.
            Nmap should then report the port as open - at least from that machine.
            If it doesn't work after that, there's likely something else in between






            share|improve this answer




























              0














              from the command line, you want to do this:



              sudo ufw allow 4444 
              sudo ufw allow out 4444


              Not really sure how to do it with the gui, but if you can run nmap, you can run the above.
              Nmap should then report the port as open - at least from that machine.
              If it doesn't work after that, there's likely something else in between






              share|improve this answer


























                0












                0








                0







                from the command line, you want to do this:



                sudo ufw allow 4444 
                sudo ufw allow out 4444


                Not really sure how to do it with the gui, but if you can run nmap, you can run the above.
                Nmap should then report the port as open - at least from that machine.
                If it doesn't work after that, there's likely something else in between






                share|improve this answer













                from the command line, you want to do this:



                sudo ufw allow 4444 
                sudo ufw allow out 4444


                Not really sure how to do it with the gui, but if you can run nmap, you can run the above.
                Nmap should then report the port as open - at least from that machine.
                If it doesn't work after that, there's likely something else in between







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 5 at 14:32









                rm-vandarm-vanda

                2,37321523




                2,37321523






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f852398%2fhow-to-change-port-from-filtered-to-open%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How did Captain America manage to do this?

                    迪纳利

                    南乌拉尔铁路局