How to connect to a PC in LAN from the Internet (No static IP)












0















The PC (Raspberry) is in a LAN Network and I want to connect to it, however the network doesn't have a static IP.

Additionally I can't use Port forwarding and Dynamic DNS.



What other options do I have?










share|improve this question





























    0















    The PC (Raspberry) is in a LAN Network and I want to connect to it, however the network doesn't have a static IP.

    Additionally I can't use Port forwarding and Dynamic DNS.



    What other options do I have?










    share|improve this question



























      0












      0








      0








      The PC (Raspberry) is in a LAN Network and I want to connect to it, however the network doesn't have a static IP.

      Additionally I can't use Port forwarding and Dynamic DNS.



      What other options do I have?










      share|improve this question
















      The PC (Raspberry) is in a LAN Network and I want to connect to it, however the network doesn't have a static IP.

      Additionally I can't use Port forwarding and Dynamic DNS.



      What other options do I have?







      networking






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 19 '18 at 12:03









      Ahmed Ashour

      1,1881614




      1,1881614










      asked Dec 19 '18 at 10:59









      PenziplaysPenziplays

      1




      1






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Since you cannot connect to the Raspberry, your only option is for it to connect
          to you.



          You need to set up a VPN server, reachable via the Internet, and have the
          Raspberry connect to that server.



          Your computer can then also join that VPN network, for the Raspberry to become
          accessible.



          Beware that in a corporate environment this may cause some alarm,
          so better get first the required authorization.






          share|improve this answer































            0














            Not easily.



            Its worth remembering that packets from the outside wouldn't know how to reach you and working between two dynamic endpoints is... challenging. Assuming you're using a raspberry pi cause its cheap - spending extra money isn't really an option.



            Essentially this problem seems identical to trying to connect to a system inside a carrier grade nat.



            The solution is basically "If you cannot connect in, connect out" and establish the connection from your system. Which is tricky if your endpoint dosen't have a staticish, routable IP



            There's a bunch of possible solutions - find a service like ngrok if its just a web server that handles the connections for you.



            Some time back I'd have suggested ipv6 - I used to use a defunct tunnel broker provider that worked behind a nat - if you can find a provider that works for you
            (or its supported by your endpoints), its probably the 'neatest' way to get this working.



            You might also be able to use a third party VPN that works behind a nat. Back in the old days, we used to run lan games over the internet using hamachi - though zerotier seems to be a more modern alternative. They do have a fairly reasonable free tier.



            Basically - any options you have will be limited, involve a fair amount of extra work or cost.






            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%2f1385880%2fhow-to-connect-to-a-pc-in-lan-from-the-internet-no-static-ip%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














              Since you cannot connect to the Raspberry, your only option is for it to connect
              to you.



              You need to set up a VPN server, reachable via the Internet, and have the
              Raspberry connect to that server.



              Your computer can then also join that VPN network, for the Raspberry to become
              accessible.



              Beware that in a corporate environment this may cause some alarm,
              so better get first the required authorization.






              share|improve this answer




























                0














                Since you cannot connect to the Raspberry, your only option is for it to connect
                to you.



                You need to set up a VPN server, reachable via the Internet, and have the
                Raspberry connect to that server.



                Your computer can then also join that VPN network, for the Raspberry to become
                accessible.



                Beware that in a corporate environment this may cause some alarm,
                so better get first the required authorization.






                share|improve this answer


























                  0












                  0








                  0







                  Since you cannot connect to the Raspberry, your only option is for it to connect
                  to you.



                  You need to set up a VPN server, reachable via the Internet, and have the
                  Raspberry connect to that server.



                  Your computer can then also join that VPN network, for the Raspberry to become
                  accessible.



                  Beware that in a corporate environment this may cause some alarm,
                  so better get first the required authorization.






                  share|improve this answer













                  Since you cannot connect to the Raspberry, your only option is for it to connect
                  to you.



                  You need to set up a VPN server, reachable via the Internet, and have the
                  Raspberry connect to that server.



                  Your computer can then also join that VPN network, for the Raspberry to become
                  accessible.



                  Beware that in a corporate environment this may cause some alarm,
                  so better get first the required authorization.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Dec 19 '18 at 11:22









                  harrymcharrymc

                  256k14267567




                  256k14267567

























                      0














                      Not easily.



                      Its worth remembering that packets from the outside wouldn't know how to reach you and working between two dynamic endpoints is... challenging. Assuming you're using a raspberry pi cause its cheap - spending extra money isn't really an option.



                      Essentially this problem seems identical to trying to connect to a system inside a carrier grade nat.



                      The solution is basically "If you cannot connect in, connect out" and establish the connection from your system. Which is tricky if your endpoint dosen't have a staticish, routable IP



                      There's a bunch of possible solutions - find a service like ngrok if its just a web server that handles the connections for you.



                      Some time back I'd have suggested ipv6 - I used to use a defunct tunnel broker provider that worked behind a nat - if you can find a provider that works for you
                      (or its supported by your endpoints), its probably the 'neatest' way to get this working.



                      You might also be able to use a third party VPN that works behind a nat. Back in the old days, we used to run lan games over the internet using hamachi - though zerotier seems to be a more modern alternative. They do have a fairly reasonable free tier.



                      Basically - any options you have will be limited, involve a fair amount of extra work or cost.






                      share|improve this answer




























                        0














                        Not easily.



                        Its worth remembering that packets from the outside wouldn't know how to reach you and working between two dynamic endpoints is... challenging. Assuming you're using a raspberry pi cause its cheap - spending extra money isn't really an option.



                        Essentially this problem seems identical to trying to connect to a system inside a carrier grade nat.



                        The solution is basically "If you cannot connect in, connect out" and establish the connection from your system. Which is tricky if your endpoint dosen't have a staticish, routable IP



                        There's a bunch of possible solutions - find a service like ngrok if its just a web server that handles the connections for you.



                        Some time back I'd have suggested ipv6 - I used to use a defunct tunnel broker provider that worked behind a nat - if you can find a provider that works for you
                        (or its supported by your endpoints), its probably the 'neatest' way to get this working.



                        You might also be able to use a third party VPN that works behind a nat. Back in the old days, we used to run lan games over the internet using hamachi - though zerotier seems to be a more modern alternative. They do have a fairly reasonable free tier.



                        Basically - any options you have will be limited, involve a fair amount of extra work or cost.






                        share|improve this answer


























                          0












                          0








                          0







                          Not easily.



                          Its worth remembering that packets from the outside wouldn't know how to reach you and working between two dynamic endpoints is... challenging. Assuming you're using a raspberry pi cause its cheap - spending extra money isn't really an option.



                          Essentially this problem seems identical to trying to connect to a system inside a carrier grade nat.



                          The solution is basically "If you cannot connect in, connect out" and establish the connection from your system. Which is tricky if your endpoint dosen't have a staticish, routable IP



                          There's a bunch of possible solutions - find a service like ngrok if its just a web server that handles the connections for you.



                          Some time back I'd have suggested ipv6 - I used to use a defunct tunnel broker provider that worked behind a nat - if you can find a provider that works for you
                          (or its supported by your endpoints), its probably the 'neatest' way to get this working.



                          You might also be able to use a third party VPN that works behind a nat. Back in the old days, we used to run lan games over the internet using hamachi - though zerotier seems to be a more modern alternative. They do have a fairly reasonable free tier.



                          Basically - any options you have will be limited, involve a fair amount of extra work or cost.






                          share|improve this answer













                          Not easily.



                          Its worth remembering that packets from the outside wouldn't know how to reach you and working between two dynamic endpoints is... challenging. Assuming you're using a raspberry pi cause its cheap - spending extra money isn't really an option.



                          Essentially this problem seems identical to trying to connect to a system inside a carrier grade nat.



                          The solution is basically "If you cannot connect in, connect out" and establish the connection from your system. Which is tricky if your endpoint dosen't have a staticish, routable IP



                          There's a bunch of possible solutions - find a service like ngrok if its just a web server that handles the connections for you.



                          Some time back I'd have suggested ipv6 - I used to use a defunct tunnel broker provider that worked behind a nat - if you can find a provider that works for you
                          (or its supported by your endpoints), its probably the 'neatest' way to get this working.



                          You might also be able to use a third party VPN that works behind a nat. Back in the old days, we used to run lan games over the internet using hamachi - though zerotier seems to be a more modern alternative. They do have a fairly reasonable free tier.



                          Basically - any options you have will be limited, involve a fair amount of extra work or cost.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Dec 19 '18 at 12:07









                          Journeyman GeekJourneyman Geek

                          112k43217368




                          112k43217368






























                              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%2f1385880%2fhow-to-connect-to-a-pc-in-lan-from-the-internet-no-static-ip%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-я гвардейская общевойсковая армия

                              Алькесар