How to install openvpn client in Debian?
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
add a comment |
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
add a comment |
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
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
linux vpn openvpn debian-jessie client-server
edited Feb 27 '17 at 15:27
phuclv
8,97063889
8,97063889
asked Feb 27 '17 at 15:16
AjaiVeer Singh Sandhu
991110
991110
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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 cd
ing to it before starting openvpn.
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
|
show 5 more comments
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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 cd
ing to it before starting openvpn.
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
|
show 5 more comments
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 cd
ing to it before starting openvpn.
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
|
show 5 more comments
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 cd
ing to it before starting openvpn.
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 cd
ing to it before starting openvpn.
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
|
show 5 more comments
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
|
show 5 more comments
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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