How to install openvpn client in Debian?












1














I've gone through many tutorials, wiki pages youtube videos about installing. They all are showing how to install openvpn server and use the same with client.



I was using the config files from tcpvpn.com in Windows and in Manjaro. All I had to do was import the config file and put username and passcode, it would connect and poof internet was working.



I also tried to learn the difference between server and client. All I got was openvpn is community edition? Please help me here, I am struggling to work this out from last 7 to 8 days.



Whenever I import the config files of different countries in network manager it has a blank field of ca.crt, I don't know what to do?










share|improve this question





























    1














    I've gone through many tutorials, wiki pages youtube videos about installing. They all are showing how to install openvpn server and use the same with client.



    I was using the config files from tcpvpn.com in Windows and in Manjaro. All I had to do was import the config file and put username and passcode, it would connect and poof internet was working.



    I also tried to learn the difference between server and client. All I got was openvpn is community edition? Please help me here, I am struggling to work this out from last 7 to 8 days.



    Whenever I import the config files of different countries in network manager it has a blank field of ca.crt, I don't know what to do?










    share|improve this question



























      1












      1








      1


      1





      I've gone through many tutorials, wiki pages youtube videos about installing. They all are showing how to install openvpn server and use the same with client.



      I was using the config files from tcpvpn.com in Windows and in Manjaro. All I had to do was import the config file and put username and passcode, it would connect and poof internet was working.



      I also tried to learn the difference between server and client. All I got was openvpn is community edition? Please help me here, I am struggling to work this out from last 7 to 8 days.



      Whenever I import the config files of different countries in network manager it has a blank field of ca.crt, I don't know what to do?










      share|improve this question















      I've gone through many tutorials, wiki pages youtube videos about installing. They all are showing how to install openvpn server and use the same with client.



      I was using the config files from tcpvpn.com in Windows and in Manjaro. All I had to do was import the config file and put username and passcode, it would connect and poof internet was working.



      I also tried to learn the difference between server and client. All I got was openvpn is community edition? Please help me here, I am struggling to work this out from last 7 to 8 days.



      Whenever I import the config files of different countries in network manager it has a blank field of ca.crt, I don't know what to do?







      linux vpn openvpn debian-jessie client-server






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 27 '17 at 15:27









      phuclv

      8,97063889




      8,97063889










      asked Feb 27 '17 at 15:16









      AjaiVeer Singh Sandhu

      991110




      991110






















          1 Answer
          1






          active

          oldest

          votes


















          1














          I don't think this should be hard. All there is to do is open a terminal and issue:



          sudo apt-get install openvpn


          Then start openvpn with:



          sudo openvpn --config /path/to/configfile.conf


          Said config file can be placed anywhere you please, but if it contains references to external files, I suggest placing them all in the same directory and cding to it before starting openvpn.






          share|improve this answer





















          • it shows everything ok but internet connection doesn't work. I checked through ifconfig -a, everything is fine but no downlink at all. Thanks
            – AjaiVeer Singh Sandhu
            Feb 27 '17 at 23:43










          • If OpenVPN shows the message ´Initialization Sequence Completed´, then you are connected, good news. Since you can't yet browse the Internet, there are two more things to check: DNS and routes. First, see if domain name resolution is working by running in a different terminal window ´ping google.com´; if it does not work and instead ´ping 8.8.8.8´ is successful, then you need to specify DNS servers. The other thing is routing: you need to instruct your machine to send traffic through the OpenVPN connection.
            – simlev
            Feb 28 '17 at 0:07










          • i pinged 8.8.8.8 and it was successful, could you please me with routing - how do i instruct my machine to send traffic though OpenVPN.
            – AjaiVeer Singh Sandhu
            Mar 1 '17 at 8:01










          • If you can ping 8.8.8.8 then you have Interrnet connectivity. Does ´ping google.com´ work? If not, it's a DNS issue.
            – simlev
            Mar 1 '17 at 9:36










          • pinging 8.8.8.8 was successful but for "www.google.com" it wasn't. I wanna learn how to specify DNS server and routing for OpenVPN. really thanks for helping.
            – AjaiVeer Singh Sandhu
            Mar 1 '17 at 17:35











          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%2f1183305%2fhow-to-install-openvpn-client-in-debian%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














          I don't think this should be hard. All there is to do is open a terminal and issue:



          sudo apt-get install openvpn


          Then start openvpn with:



          sudo openvpn --config /path/to/configfile.conf


          Said config file can be placed anywhere you please, but if it contains references to external files, I suggest placing them all in the same directory and cding to it before starting openvpn.






          share|improve this answer





















          • it shows everything ok but internet connection doesn't work. I checked through ifconfig -a, everything is fine but no downlink at all. Thanks
            – AjaiVeer Singh Sandhu
            Feb 27 '17 at 23:43










          • If OpenVPN shows the message ´Initialization Sequence Completed´, then you are connected, good news. Since you can't yet browse the Internet, there are two more things to check: DNS and routes. First, see if domain name resolution is working by running in a different terminal window ´ping google.com´; if it does not work and instead ´ping 8.8.8.8´ is successful, then you need to specify DNS servers. The other thing is routing: you need to instruct your machine to send traffic through the OpenVPN connection.
            – simlev
            Feb 28 '17 at 0:07










          • i pinged 8.8.8.8 and it was successful, could you please me with routing - how do i instruct my machine to send traffic though OpenVPN.
            – AjaiVeer Singh Sandhu
            Mar 1 '17 at 8:01










          • If you can ping 8.8.8.8 then you have Interrnet connectivity. Does ´ping google.com´ work? If not, it's a DNS issue.
            – simlev
            Mar 1 '17 at 9:36










          • pinging 8.8.8.8 was successful but for "www.google.com" it wasn't. I wanna learn how to specify DNS server and routing for OpenVPN. really thanks for helping.
            – AjaiVeer Singh Sandhu
            Mar 1 '17 at 17:35
















          1














          I don't think this should be hard. All there is to do is open a terminal and issue:



          sudo apt-get install openvpn


          Then start openvpn with:



          sudo openvpn --config /path/to/configfile.conf


          Said config file can be placed anywhere you please, but if it contains references to external files, I suggest placing them all in the same directory and cding to it before starting openvpn.






          share|improve this answer





















          • it shows everything ok but internet connection doesn't work. I checked through ifconfig -a, everything is fine but no downlink at all. Thanks
            – AjaiVeer Singh Sandhu
            Feb 27 '17 at 23:43










          • If OpenVPN shows the message ´Initialization Sequence Completed´, then you are connected, good news. Since you can't yet browse the Internet, there are two more things to check: DNS and routes. First, see if domain name resolution is working by running in a different terminal window ´ping google.com´; if it does not work and instead ´ping 8.8.8.8´ is successful, then you need to specify DNS servers. The other thing is routing: you need to instruct your machine to send traffic through the OpenVPN connection.
            – simlev
            Feb 28 '17 at 0:07










          • i pinged 8.8.8.8 and it was successful, could you please me with routing - how do i instruct my machine to send traffic though OpenVPN.
            – AjaiVeer Singh Sandhu
            Mar 1 '17 at 8:01










          • If you can ping 8.8.8.8 then you have Interrnet connectivity. Does ´ping google.com´ work? If not, it's a DNS issue.
            – simlev
            Mar 1 '17 at 9:36










          • pinging 8.8.8.8 was successful but for "www.google.com" it wasn't. I wanna learn how to specify DNS server and routing for OpenVPN. really thanks for helping.
            – AjaiVeer Singh Sandhu
            Mar 1 '17 at 17:35














          1












          1








          1






          I don't think this should be hard. All there is to do is open a terminal and issue:



          sudo apt-get install openvpn


          Then start openvpn with:



          sudo openvpn --config /path/to/configfile.conf


          Said config file can be placed anywhere you please, but if it contains references to external files, I suggest placing them all in the same directory and cding to it before starting openvpn.






          share|improve this answer












          I don't think this should be hard. All there is to do is open a terminal and issue:



          sudo apt-get install openvpn


          Then start openvpn with:



          sudo openvpn --config /path/to/configfile.conf


          Said config file can be placed anywhere you please, but if it contains references to external files, I suggest placing them all in the same directory and cding to it before starting openvpn.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 27 '17 at 15:53









          simlev

          3,0163527




          3,0163527












          • it shows everything ok but internet connection doesn't work. I checked through ifconfig -a, everything is fine but no downlink at all. Thanks
            – AjaiVeer Singh Sandhu
            Feb 27 '17 at 23:43










          • If OpenVPN shows the message ´Initialization Sequence Completed´, then you are connected, good news. Since you can't yet browse the Internet, there are two more things to check: DNS and routes. First, see if domain name resolution is working by running in a different terminal window ´ping google.com´; if it does not work and instead ´ping 8.8.8.8´ is successful, then you need to specify DNS servers. The other thing is routing: you need to instruct your machine to send traffic through the OpenVPN connection.
            – simlev
            Feb 28 '17 at 0:07










          • i pinged 8.8.8.8 and it was successful, could you please me with routing - how do i instruct my machine to send traffic though OpenVPN.
            – AjaiVeer Singh Sandhu
            Mar 1 '17 at 8:01










          • If you can ping 8.8.8.8 then you have Interrnet connectivity. Does ´ping google.com´ work? If not, it's a DNS issue.
            – simlev
            Mar 1 '17 at 9:36










          • pinging 8.8.8.8 was successful but for "www.google.com" it wasn't. I wanna learn how to specify DNS server and routing for OpenVPN. really thanks for helping.
            – AjaiVeer Singh Sandhu
            Mar 1 '17 at 17:35


















          • it shows everything ok but internet connection doesn't work. I checked through ifconfig -a, everything is fine but no downlink at all. Thanks
            – AjaiVeer Singh Sandhu
            Feb 27 '17 at 23:43










          • If OpenVPN shows the message ´Initialization Sequence Completed´, then you are connected, good news. Since you can't yet browse the Internet, there are two more things to check: DNS and routes. First, see if domain name resolution is working by running in a different terminal window ´ping google.com´; if it does not work and instead ´ping 8.8.8.8´ is successful, then you need to specify DNS servers. The other thing is routing: you need to instruct your machine to send traffic through the OpenVPN connection.
            – simlev
            Feb 28 '17 at 0:07










          • i pinged 8.8.8.8 and it was successful, could you please me with routing - how do i instruct my machine to send traffic though OpenVPN.
            – AjaiVeer Singh Sandhu
            Mar 1 '17 at 8:01










          • If you can ping 8.8.8.8 then you have Interrnet connectivity. Does ´ping google.com´ work? If not, it's a DNS issue.
            – simlev
            Mar 1 '17 at 9:36










          • pinging 8.8.8.8 was successful but for "www.google.com" it wasn't. I wanna learn how to specify DNS server and routing for OpenVPN. really thanks for helping.
            – AjaiVeer Singh Sandhu
            Mar 1 '17 at 17:35
















          it shows everything ok but internet connection doesn't work. I checked through ifconfig -a, everything is fine but no downlink at all. Thanks
          – AjaiVeer Singh Sandhu
          Feb 27 '17 at 23:43




          it shows everything ok but internet connection doesn't work. I checked through ifconfig -a, everything is fine but no downlink at all. Thanks
          – AjaiVeer Singh Sandhu
          Feb 27 '17 at 23:43












          If OpenVPN shows the message ´Initialization Sequence Completed´, then you are connected, good news. Since you can't yet browse the Internet, there are two more things to check: DNS and routes. First, see if domain name resolution is working by running in a different terminal window ´ping google.com´; if it does not work and instead ´ping 8.8.8.8´ is successful, then you need to specify DNS servers. The other thing is routing: you need to instruct your machine to send traffic through the OpenVPN connection.
          – simlev
          Feb 28 '17 at 0:07




          If OpenVPN shows the message ´Initialization Sequence Completed´, then you are connected, good news. Since you can't yet browse the Internet, there are two more things to check: DNS and routes. First, see if domain name resolution is working by running in a different terminal window ´ping google.com´; if it does not work and instead ´ping 8.8.8.8´ is successful, then you need to specify DNS servers. The other thing is routing: you need to instruct your machine to send traffic through the OpenVPN connection.
          – simlev
          Feb 28 '17 at 0:07












          i pinged 8.8.8.8 and it was successful, could you please me with routing - how do i instruct my machine to send traffic though OpenVPN.
          – AjaiVeer Singh Sandhu
          Mar 1 '17 at 8:01




          i pinged 8.8.8.8 and it was successful, could you please me with routing - how do i instruct my machine to send traffic though OpenVPN.
          – AjaiVeer Singh Sandhu
          Mar 1 '17 at 8:01












          If you can ping 8.8.8.8 then you have Interrnet connectivity. Does ´ping google.com´ work? If not, it's a DNS issue.
          – simlev
          Mar 1 '17 at 9:36




          If you can ping 8.8.8.8 then you have Interrnet connectivity. Does ´ping google.com´ work? If not, it's a DNS issue.
          – simlev
          Mar 1 '17 at 9:36












          pinging 8.8.8.8 was successful but for "www.google.com" it wasn't. I wanna learn how to specify DNS server and routing for OpenVPN. really thanks for helping.
          – AjaiVeer Singh Sandhu
          Mar 1 '17 at 17:35




          pinging 8.8.8.8 was successful but for "www.google.com" it wasn't. I wanna learn how to specify DNS server and routing for OpenVPN. really thanks for helping.
          – AjaiVeer Singh Sandhu
          Mar 1 '17 at 17:35


















          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%2f1183305%2fhow-to-install-openvpn-client-in-debian%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

          If I really need a card on my start hand, how many mulligans make sense? [duplicate]

          Alcedinidae

          Can an atomic nucleus contain both particles and antiparticles? [duplicate]