Does using Dynamic DNS or port forwarding to set up a website blocks other people in the network from doing...












0















So, I've been reading around about dynamic DNS and portforwarding, among others here:
Portforwarding to multiple computers



If I gather correctly, this is the scenerio that will unfold in real life: Let's say I want to setup a webserver on my local machine, but I don't want but a dedicated server, so I decide I will use dynamic DNS service with port forwarding, so that each time my current IP allocated by my ISP to me (and to many other users) will direct to my website.



Does that mean that it is impossible for another website of some user that is in the same ISP and is for the current moment behind the same NAT as me, to be reachable at the same time as my website? Because at that situation, we will share the same IP:PORT until one of us will get a new IP from our ISP.



If that's true, that just seems pretty impractical to me. Am I missing something here? Are there no ways to overcome this possible issue?



Hopefully I've made myself clear, as English isn't my native language.










share|improve this question



























    0















    So, I've been reading around about dynamic DNS and portforwarding, among others here:
    Portforwarding to multiple computers



    If I gather correctly, this is the scenerio that will unfold in real life: Let's say I want to setup a webserver on my local machine, but I don't want but a dedicated server, so I decide I will use dynamic DNS service with port forwarding, so that each time my current IP allocated by my ISP to me (and to many other users) will direct to my website.



    Does that mean that it is impossible for another website of some user that is in the same ISP and is for the current moment behind the same NAT as me, to be reachable at the same time as my website? Because at that situation, we will share the same IP:PORT until one of us will get a new IP from our ISP.



    If that's true, that just seems pretty impractical to me. Am I missing something here? Are there no ways to overcome this possible issue?



    Hopefully I've made myself clear, as English isn't my native language.










    share|improve this question

























      0












      0








      0








      So, I've been reading around about dynamic DNS and portforwarding, among others here:
      Portforwarding to multiple computers



      If I gather correctly, this is the scenerio that will unfold in real life: Let's say I want to setup a webserver on my local machine, but I don't want but a dedicated server, so I decide I will use dynamic DNS service with port forwarding, so that each time my current IP allocated by my ISP to me (and to many other users) will direct to my website.



      Does that mean that it is impossible for another website of some user that is in the same ISP and is for the current moment behind the same NAT as me, to be reachable at the same time as my website? Because at that situation, we will share the same IP:PORT until one of us will get a new IP from our ISP.



      If that's true, that just seems pretty impractical to me. Am I missing something here? Are there no ways to overcome this possible issue?



      Hopefully I've made myself clear, as English isn't my native language.










      share|improve this question














      So, I've been reading around about dynamic DNS and portforwarding, among others here:
      Portforwarding to multiple computers



      If I gather correctly, this is the scenerio that will unfold in real life: Let's say I want to setup a webserver on my local machine, but I don't want but a dedicated server, so I decide I will use dynamic DNS service with port forwarding, so that each time my current IP allocated by my ISP to me (and to many other users) will direct to my website.



      Does that mean that it is impossible for another website of some user that is in the same ISP and is for the current moment behind the same NAT as me, to be reachable at the same time as my website? Because at that situation, we will share the same IP:PORT until one of us will get a new IP from our ISP.



      If that's true, that just seems pretty impractical to me. Am I missing something here? Are there no ways to overcome this possible issue?



      Hopefully I've made myself clear, as English isn't my native language.







      networking






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 3 at 22:35









      vladyvlady

      1




      1






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Yes, technically you would be correct – but in practice, if you're behind ISP-controlled NAT, then you generally cannot set up port forwarding in the first place.



          When you're behind a CGNAT and share the address with other customers, it doesn't matter if you configure some port-forwarding rules on your own router; they will have no effect on the ISP's routers which actually 'own' the public address – only the ISP can provide port-forwarding. And in most cases, the ISP will refuse to do it.



          So yes, it's impractical, and that's why in practice it isn't done in the first place.





          When people actually use port forwarding, it's used with ISPs which don't implement CGNAT yet – they assign a public IP address directly to a single customer. Yes, the IP:port can still be forwarded to one device only, no matter where NAT happens... but the problem isn't nearly as significant because there's no sharing between customers – only between devices belonging to the same LAN.



          (In the case of HTTP, it's even less significant because the customer can set up a reverse proxy and route HTTP requests to different devices based on the domain name.)





          Finally, note that Dynamic DNS is completely unrelated to this. All it does here – well, all that regular DNS does – is assign a name to the IP address, but the actual traffic doesn't know the difference. When a browser tries to set up a connection to your webserver, the IP and TCP packets look exactly the same whether DNS was used or not.






          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%2f1401686%2fdoes-using-dynamic-dns-or-port-forwarding-to-set-up-a-website-blocks-other-peopl%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









            1














            Yes, technically you would be correct – but in practice, if you're behind ISP-controlled NAT, then you generally cannot set up port forwarding in the first place.



            When you're behind a CGNAT and share the address with other customers, it doesn't matter if you configure some port-forwarding rules on your own router; they will have no effect on the ISP's routers which actually 'own' the public address – only the ISP can provide port-forwarding. And in most cases, the ISP will refuse to do it.



            So yes, it's impractical, and that's why in practice it isn't done in the first place.





            When people actually use port forwarding, it's used with ISPs which don't implement CGNAT yet – they assign a public IP address directly to a single customer. Yes, the IP:port can still be forwarded to one device only, no matter where NAT happens... but the problem isn't nearly as significant because there's no sharing between customers – only between devices belonging to the same LAN.



            (In the case of HTTP, it's even less significant because the customer can set up a reverse proxy and route HTTP requests to different devices based on the domain name.)





            Finally, note that Dynamic DNS is completely unrelated to this. All it does here – well, all that regular DNS does – is assign a name to the IP address, but the actual traffic doesn't know the difference. When a browser tries to set up a connection to your webserver, the IP and TCP packets look exactly the same whether DNS was used or not.






            share|improve this answer






























              1














              Yes, technically you would be correct – but in practice, if you're behind ISP-controlled NAT, then you generally cannot set up port forwarding in the first place.



              When you're behind a CGNAT and share the address with other customers, it doesn't matter if you configure some port-forwarding rules on your own router; they will have no effect on the ISP's routers which actually 'own' the public address – only the ISP can provide port-forwarding. And in most cases, the ISP will refuse to do it.



              So yes, it's impractical, and that's why in practice it isn't done in the first place.





              When people actually use port forwarding, it's used with ISPs which don't implement CGNAT yet – they assign a public IP address directly to a single customer. Yes, the IP:port can still be forwarded to one device only, no matter where NAT happens... but the problem isn't nearly as significant because there's no sharing between customers – only between devices belonging to the same LAN.



              (In the case of HTTP, it's even less significant because the customer can set up a reverse proxy and route HTTP requests to different devices based on the domain name.)





              Finally, note that Dynamic DNS is completely unrelated to this. All it does here – well, all that regular DNS does – is assign a name to the IP address, but the actual traffic doesn't know the difference. When a browser tries to set up a connection to your webserver, the IP and TCP packets look exactly the same whether DNS was used or not.






              share|improve this answer




























                1












                1








                1







                Yes, technically you would be correct – but in practice, if you're behind ISP-controlled NAT, then you generally cannot set up port forwarding in the first place.



                When you're behind a CGNAT and share the address with other customers, it doesn't matter if you configure some port-forwarding rules on your own router; they will have no effect on the ISP's routers which actually 'own' the public address – only the ISP can provide port-forwarding. And in most cases, the ISP will refuse to do it.



                So yes, it's impractical, and that's why in practice it isn't done in the first place.





                When people actually use port forwarding, it's used with ISPs which don't implement CGNAT yet – they assign a public IP address directly to a single customer. Yes, the IP:port can still be forwarded to one device only, no matter where NAT happens... but the problem isn't nearly as significant because there's no sharing between customers – only between devices belonging to the same LAN.



                (In the case of HTTP, it's even less significant because the customer can set up a reverse proxy and route HTTP requests to different devices based on the domain name.)





                Finally, note that Dynamic DNS is completely unrelated to this. All it does here – well, all that regular DNS does – is assign a name to the IP address, but the actual traffic doesn't know the difference. When a browser tries to set up a connection to your webserver, the IP and TCP packets look exactly the same whether DNS was used or not.






                share|improve this answer















                Yes, technically you would be correct – but in practice, if you're behind ISP-controlled NAT, then you generally cannot set up port forwarding in the first place.



                When you're behind a CGNAT and share the address with other customers, it doesn't matter if you configure some port-forwarding rules on your own router; they will have no effect on the ISP's routers which actually 'own' the public address – only the ISP can provide port-forwarding. And in most cases, the ISP will refuse to do it.



                So yes, it's impractical, and that's why in practice it isn't done in the first place.





                When people actually use port forwarding, it's used with ISPs which don't implement CGNAT yet – they assign a public IP address directly to a single customer. Yes, the IP:port can still be forwarded to one device only, no matter where NAT happens... but the problem isn't nearly as significant because there's no sharing between customers – only between devices belonging to the same LAN.



                (In the case of HTTP, it's even less significant because the customer can set up a reverse proxy and route HTTP requests to different devices based on the domain name.)





                Finally, note that Dynamic DNS is completely unrelated to this. All it does here – well, all that regular DNS does – is assign a name to the IP address, but the actual traffic doesn't know the difference. When a browser tries to set up a connection to your webserver, the IP and TCP packets look exactly the same whether DNS was used or not.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Feb 4 at 6:33

























                answered Feb 3 at 23:56









                grawitygrawity

                239k37508561




                239k37508561






























                    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.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1401686%2fdoes-using-dynamic-dns-or-port-forwarding-to-set-up-a-website-blocks-other-peopl%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

                    Probability when a professor distributes a quiz and homework assignment to a class of n students.

                    Aardman Animations

                    Are they similar matrix