Scan network settings from inside (pretend to be outside)











up vote
0
down vote

favorite












Is this possible? With nmap or similar tools? Basically I've setup NAT and security policies on my private network. Now I need to test them. Ideally I want to test them from my PC (that is on the private network).



E.g. I enabled SSH on a certain local machine (TCP 22) and setup forwarding to from my router port 8022 to local machine IP:22.



Doing nmap <my_public_ip> does not work from within the network.










share|improve this question


























    up vote
    0
    down vote

    favorite












    Is this possible? With nmap or similar tools? Basically I've setup NAT and security policies on my private network. Now I need to test them. Ideally I want to test them from my PC (that is on the private network).



    E.g. I enabled SSH on a certain local machine (TCP 22) and setup forwarding to from my router port 8022 to local machine IP:22.



    Doing nmap <my_public_ip> does not work from within the network.










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Is this possible? With nmap or similar tools? Basically I've setup NAT and security policies on my private network. Now I need to test them. Ideally I want to test them from my PC (that is on the private network).



      E.g. I enabled SSH on a certain local machine (TCP 22) and setup forwarding to from my router port 8022 to local machine IP:22.



      Doing nmap <my_public_ip> does not work from within the network.










      share|improve this question













      Is this possible? With nmap or similar tools? Basically I've setup NAT and security policies on my private network. Now I need to test them. Ideally I want to test them from my PC (that is on the private network).



      E.g. I enabled SSH on a certain local machine (TCP 22) and setup forwarding to from my router port 8022 to local machine IP:22.



      Doing nmap <my_public_ip> does not work from within the network.







      networking nmap






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 29 at 15:30









      emihir0

      1033




      1033






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          With a standard home router? Probably not.



          You need the ability to do hair-pinning - which allows traffic to appear to be coming from the external IP when in fact it's originating within the network. While you may get this ability on enterprise routers, it's unlikely that you'll be able to do it on a standard home router.



          Instead, look at getting a cheap server, which you can use for a few hours to do your testing from. This way you'll genuinely be testing your service as if you're connecting from outside (as you will be) and can confirm everything as it should be.






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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%2fsuperuser.com%2fquestions%2f1379457%2fscan-network-settings-from-inside-pretend-to-be-outside%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            With a standard home router? Probably not.



            You need the ability to do hair-pinning - which allows traffic to appear to be coming from the external IP when in fact it's originating within the network. While you may get this ability on enterprise routers, it's unlikely that you'll be able to do it on a standard home router.



            Instead, look at getting a cheap server, which you can use for a few hours to do your testing from. This way you'll genuinely be testing your service as if you're connecting from outside (as you will be) and can confirm everything as it should be.






            share|improve this answer

























              up vote
              1
              down vote



              accepted










              With a standard home router? Probably not.



              You need the ability to do hair-pinning - which allows traffic to appear to be coming from the external IP when in fact it's originating within the network. While you may get this ability on enterprise routers, it's unlikely that you'll be able to do it on a standard home router.



              Instead, look at getting a cheap server, which you can use for a few hours to do your testing from. This way you'll genuinely be testing your service as if you're connecting from outside (as you will be) and can confirm everything as it should be.






              share|improve this answer























                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                With a standard home router? Probably not.



                You need the ability to do hair-pinning - which allows traffic to appear to be coming from the external IP when in fact it's originating within the network. While you may get this ability on enterprise routers, it's unlikely that you'll be able to do it on a standard home router.



                Instead, look at getting a cheap server, which you can use for a few hours to do your testing from. This way you'll genuinely be testing your service as if you're connecting from outside (as you will be) and can confirm everything as it should be.






                share|improve this answer












                With a standard home router? Probably not.



                You need the ability to do hair-pinning - which allows traffic to appear to be coming from the external IP when in fact it's originating within the network. While you may get this ability on enterprise routers, it's unlikely that you'll be able to do it on a standard home router.



                Instead, look at getting a cheap server, which you can use for a few hours to do your testing from. This way you'll genuinely be testing your service as if you're connecting from outside (as you will be) and can confirm everything as it should be.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 29 at 15:34









                djsmiley2k

                4,88612335




                4,88612335






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • 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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2fsuperuser.com%2fquestions%2f1379457%2fscan-network-settings-from-inside-pretend-to-be-outside%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

                    Сан-Квентин

                    8-я гвардейская общевойсковая армия

                    Алькесар