Remotely Access Server using SSH with OpenVPN Client RunningHow to install openVPN server in Ubuntu 12.04 to...

DOS, create pipe for stdin/stdout of command.com(or 4dos.com) in C or Batch?

Possibly bubble sort algorithm

Modification to Chariots for Heavy Cavalry Analogue for 4-armed race

How do I create uniquely male characters?

The magic money tree problem

Chess with symmetric move-square

Why are 150k or 200k jobs considered good when there are 300k+ births a month?

Why has Russell's definition of numbers using equivalence classes been finally abandoned? ( If it has actually been abandoned).

Schwarzchild Radius of the Universe

What are these boxed doors outside store fronts in New York?

Why is "Reports" in sentence down without "The"

"You are your self first supporter", a more proper way to say it

Is there really no realistic way for a skeleton monster to move around without magic?

Is there a familial term for apples and pears?

Do airline pilots ever risk not hearing communication directed to them specifically, from traffic controllers?

I see my dog run

How can the DM most effectively choose 1 out of an odd number of players to be targeted by an attack or effect?

What defenses are there against being summoned by the Gate spell?

Prevent a directory in /tmp from being deleted

"which" command doesn't work / path of Safari?

When blogging recipes, how can I support both readers who want the narrative/journey and ones who want the printer-friendly recipe?

I probably found a bug with the sudo apt install function

Why is an old chain unsafe?

What makes Graph invariants so useful/important?



Remotely Access Server using SSH with OpenVPN Client Running


How to install openVPN server in Ubuntu 12.04 to have PPTP access using username and password?Can't access any remote network routes using OpenVPN clientOpenVPN TLS HandShake Failed with Linux Server/Windows ClientAccessing SSH server outside the local networkAdding a exception on the client side of OpenVPNConnecting to SSH server which is behind VPNCannot Access Remote Network IP & Host from Openvpn serverHow to make a killswitch for OpenVPN client running on a server that allows SSH connections into the server?Can't connect to VPS server (Ivacy using OpenVPN, Vultr VPS)Connected to OpenVPN Server but can't SSH






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







1















I've been using Ubuntu for years but still consider myself and newbie.



Prior to installing OpenVPN I used to be able to access my Ubuntu file server from the outside world by port forwarding port 22 on my ISP router to the IP address of my Ubuntu server. Worked perfectly.



However, I was looking at using an OpenVPN tunnel for a backup process I'm doing.
On my home network (behind the ISP Router) I've created a OpenVPN server using an old laptop. I then installed OpenVPN on my Ubuntu file server and ran it as a client. Once connected I'm able to access the VPN server laptop no trouble over tun0. However, I am no longer able to remotely access my file server from the outside world. I can SSH to it from inside my network using the non VPN IP address (using a computer not on the VPN).



After reading a number of posts I'm thinking that the Ubuntu file server is no longer using the router gateway for sending data, it using the VPN... which of course won't work. There are posts relating to using routing tables to change this but from what I understand this doesn't work with netplan... which is now used by Ubuntu?



I have no idea what to try and do next to get this work. Thanks in advance.










share|improve this question







New contributor




Andrew Blundon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    1















    I've been using Ubuntu for years but still consider myself and newbie.



    Prior to installing OpenVPN I used to be able to access my Ubuntu file server from the outside world by port forwarding port 22 on my ISP router to the IP address of my Ubuntu server. Worked perfectly.



    However, I was looking at using an OpenVPN tunnel for a backup process I'm doing.
    On my home network (behind the ISP Router) I've created a OpenVPN server using an old laptop. I then installed OpenVPN on my Ubuntu file server and ran it as a client. Once connected I'm able to access the VPN server laptop no trouble over tun0. However, I am no longer able to remotely access my file server from the outside world. I can SSH to it from inside my network using the non VPN IP address (using a computer not on the VPN).



    After reading a number of posts I'm thinking that the Ubuntu file server is no longer using the router gateway for sending data, it using the VPN... which of course won't work. There are posts relating to using routing tables to change this but from what I understand this doesn't work with netplan... which is now used by Ubuntu?



    I have no idea what to try and do next to get this work. Thanks in advance.










    share|improve this question







    New contributor




    Andrew Blundon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1








      I've been using Ubuntu for years but still consider myself and newbie.



      Prior to installing OpenVPN I used to be able to access my Ubuntu file server from the outside world by port forwarding port 22 on my ISP router to the IP address of my Ubuntu server. Worked perfectly.



      However, I was looking at using an OpenVPN tunnel for a backup process I'm doing.
      On my home network (behind the ISP Router) I've created a OpenVPN server using an old laptop. I then installed OpenVPN on my Ubuntu file server and ran it as a client. Once connected I'm able to access the VPN server laptop no trouble over tun0. However, I am no longer able to remotely access my file server from the outside world. I can SSH to it from inside my network using the non VPN IP address (using a computer not on the VPN).



      After reading a number of posts I'm thinking that the Ubuntu file server is no longer using the router gateway for sending data, it using the VPN... which of course won't work. There are posts relating to using routing tables to change this but from what I understand this doesn't work with netplan... which is now used by Ubuntu?



      I have no idea what to try and do next to get this work. Thanks in advance.










      share|improve this question







      New contributor




      Andrew Blundon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I've been using Ubuntu for years but still consider myself and newbie.



      Prior to installing OpenVPN I used to be able to access my Ubuntu file server from the outside world by port forwarding port 22 on my ISP router to the IP address of my Ubuntu server. Worked perfectly.



      However, I was looking at using an OpenVPN tunnel for a backup process I'm doing.
      On my home network (behind the ISP Router) I've created a OpenVPN server using an old laptop. I then installed OpenVPN on my Ubuntu file server and ran it as a client. Once connected I'm able to access the VPN server laptop no trouble over tun0. However, I am no longer able to remotely access my file server from the outside world. I can SSH to it from inside my network using the non VPN IP address (using a computer not on the VPN).



      After reading a number of posts I'm thinking that the Ubuntu file server is no longer using the router gateway for sending data, it using the VPN... which of course won't work. There are posts relating to using routing tables to change this but from what I understand this doesn't work with netplan... which is now used by Ubuntu?



      I have no idea what to try and do next to get this work. Thanks in advance.







      networking server ssh vpn openvpn






      share|improve this question







      New contributor




      Andrew Blundon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Andrew Blundon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Andrew Blundon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 32 mins ago









      Andrew BlundonAndrew Blundon

      63




      63




      New contributor




      Andrew Blundon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Andrew Blundon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Andrew Blundon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          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
          });


          }
          });






          Andrew Blundon is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1132009%2fremotely-access-server-using-ssh-with-openvpn-client-running%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








          Andrew Blundon is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Andrew Blundon is a new contributor. Be nice, and check out our Code of Conduct.













          Andrew Blundon is a new contributor. Be nice, and check out our Code of Conduct.












          Andrew Blundon is a new contributor. Be nice, and check out our Code of Conduct.
















          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%2f1132009%2fremotely-access-server-using-ssh-with-openvpn-client-running%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

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...