OpenVPN to network behind double NAT Announcing the arrival of Valued Associate #679: Cesar...

Did any compiler fully use 80-bit floating point?

Semigroups with no morphisms between them

Did Mueller's report provide an evidentiary basis for the claim of Russian govt election interference via social media?

Does "shooting for effect" have contradictory meanings in different areas?

Do I really need to have a message in a novel to appeal to readers?

Co-worker has annoying ringtone

Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode

Do wooden building fires get hotter than 600°C?

Why can't I install Tomboy in Ubuntu Mate 19.04?

Is multiple magic items in one inherently imbalanced?

Significance of Cersei's obsession with elephants?

Deconstruction is ambiguous

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

How to identify unknown coordinate type and convert to lat/lon?

Misunderstanding of Sylow theory

Sliceness of knots

How does a spellshard spellbook work?

Electrolysis of water: Which equations to use? (IB Chem)

The Nth Gryphon Number

Would it be easier to apply for a UK visa if there is a host family to sponsor for you in going there?

How do living politicians protect their readily obtainable signatures from misuse?

How were pictures turned from film to a big picture in a picture frame before digital scanning?

macOS: Name for app shortcut screen found by pinching with thumb and three fingers

Strange behavior of Object.defineProperty() in JavaScript



OpenVPN to network behind double NAT



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30UTC (7:30pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Openvpn and bad routing = multiple external IP AdressesNetwork Restructure Method for Double-NAT networkopenvpn setup ping/routing failOpenVPN server configuration with D-Link DSR-250n as clientHow to Setup OpenVPN as Internet-Gateway and Connection between multiple Private networks on Virtualized ServerDouble VPN (OpenVPN)OpenVPN A clients not able to connect to address routed through another OpenVPN BOpenVPN server local network access and vpn network accessHow to handle a Site-to-Site VPN one site behind a Double-NATOpenVPN client with static NAT





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I have some VMs on my home network that I would like to be able to access remotely. These VMs have IP addresses in the 192.168.0.0/24 block that are assigned by my personal router. This router gets its Internet connection from the building network, which blocks all client-to-client communication and has no port forwarding. I also have control over a VPS that has a static external IP. So far, I have come up with the following solution:




  • Set up an OpenVPN server on the VPS with client-to-client enabled.

  • Make one of the VMs a client to the OpenVPN server.

  • Connect to the OpenVPN server remotely, SSH into the client VM, and access the rest of the network through it.


I would prefer to be able to SSH into any of the VMs from my remote PC as long as the VPN connection is active.



In addition, 2 of the VMs are DNS servers that resolve internal domain names to other servers in the 192.168.x.x space. I would like to be able to reference the servers by their names over the VPN connection.



What would be the best solution to allow for these tasks? Is there a way to route traffic through the client VM as well as the OpenVPN server?









share





























    0















    I have some VMs on my home network that I would like to be able to access remotely. These VMs have IP addresses in the 192.168.0.0/24 block that are assigned by my personal router. This router gets its Internet connection from the building network, which blocks all client-to-client communication and has no port forwarding. I also have control over a VPS that has a static external IP. So far, I have come up with the following solution:




    • Set up an OpenVPN server on the VPS with client-to-client enabled.

    • Make one of the VMs a client to the OpenVPN server.

    • Connect to the OpenVPN server remotely, SSH into the client VM, and access the rest of the network through it.


    I would prefer to be able to SSH into any of the VMs from my remote PC as long as the VPN connection is active.



    In addition, 2 of the VMs are DNS servers that resolve internal domain names to other servers in the 192.168.x.x space. I would like to be able to reference the servers by their names over the VPN connection.



    What would be the best solution to allow for these tasks? Is there a way to route traffic through the client VM as well as the OpenVPN server?









    share

























      0












      0








      0








      I have some VMs on my home network that I would like to be able to access remotely. These VMs have IP addresses in the 192.168.0.0/24 block that are assigned by my personal router. This router gets its Internet connection from the building network, which blocks all client-to-client communication and has no port forwarding. I also have control over a VPS that has a static external IP. So far, I have come up with the following solution:




      • Set up an OpenVPN server on the VPS with client-to-client enabled.

      • Make one of the VMs a client to the OpenVPN server.

      • Connect to the OpenVPN server remotely, SSH into the client VM, and access the rest of the network through it.


      I would prefer to be able to SSH into any of the VMs from my remote PC as long as the VPN connection is active.



      In addition, 2 of the VMs are DNS servers that resolve internal domain names to other servers in the 192.168.x.x space. I would like to be able to reference the servers by their names over the VPN connection.



      What would be the best solution to allow for these tasks? Is there a way to route traffic through the client VM as well as the OpenVPN server?









      share














      I have some VMs on my home network that I would like to be able to access remotely. These VMs have IP addresses in the 192.168.0.0/24 block that are assigned by my personal router. This router gets its Internet connection from the building network, which blocks all client-to-client communication and has no port forwarding. I also have control over a VPS that has a static external IP. So far, I have come up with the following solution:




      • Set up an OpenVPN server on the VPS with client-to-client enabled.

      • Make one of the VMs a client to the OpenVPN server.

      • Connect to the OpenVPN server remotely, SSH into the client VM, and access the rest of the network through it.


      I would prefer to be able to SSH into any of the VMs from my remote PC as long as the VPN connection is active.



      In addition, 2 of the VMs are DNS servers that resolve internal domain names to other servers in the 192.168.x.x space. I would like to be able to reference the servers by their names over the VPN connection.



      What would be the best solution to allow for these tasks? Is there a way to route traffic through the client VM as well as the OpenVPN server?







      vpn routing openvpn





      share












      share










      share



      share










      asked 48 secs ago









      okay19okay19

      112




      112






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          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%2fserverfault.com%2fquestions%2f963871%2fopenvpn-to-network-behind-double-nat%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Server Fault!


          • 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%2fserverfault.com%2fquestions%2f963871%2fopenvpn-to-network-behind-double-nat%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

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Українські прізвища Зміст Історичні відомості |...