Ubuntu 16.04 OpenVPN cannot access network
I have checked many posts related to OpenVPN issue but seems like I'm not able to put up proper search words to find a solution.
I have OpenVPN configuration using which I have setup VPN connection and manage to connect to VPN as I see a popup with message VPN connection has been successfully established. on both Ubuntu 14.04 and Ubuntu 16.04 machines.
On both Ubuntu 14.04 and Ubuntu 16.04 machines, I can access non VPN specific websites (gmail, stackoverflow) when connected to VPN (so assume it is not something related to Internet connectivity), but I cannot access VPN specific resources i.e. web-portal and database on Ubuntu 16.04 which I can, on Ubuntu 14.04.
Checking other posts related to issue on Ubuntu 16.04, i checked
ip route
and found that there are two default shown on Ubuntu 16.04
default via 192.168.5.9 dev tun0 proto static metric 50
default via 192.168.1.1 dev wlp6s0 proto static metric 600
As per other post's advice, I checked Use this connection only for resources on it network under IPV4 settings->routes on Ubuntu 16.04.
After the above settings and connecting to VPN, when I do IP route
on Ubuntu 16.04 i see
default via 192.168.1.1 dev wlp6s0 proto static metric 600
I see my WiFi is marked as default connection instead of VPN connection (I assume VPN should be default route, as per IP route output on Ubuntu 14.04 machine.)
Ubuntu 14.04 ip route
shows
default via 192.168.5.45 dev tun0 proto static
16.04 vpn openvpn
add a comment |
I have checked many posts related to OpenVPN issue but seems like I'm not able to put up proper search words to find a solution.
I have OpenVPN configuration using which I have setup VPN connection and manage to connect to VPN as I see a popup with message VPN connection has been successfully established. on both Ubuntu 14.04 and Ubuntu 16.04 machines.
On both Ubuntu 14.04 and Ubuntu 16.04 machines, I can access non VPN specific websites (gmail, stackoverflow) when connected to VPN (so assume it is not something related to Internet connectivity), but I cannot access VPN specific resources i.e. web-portal and database on Ubuntu 16.04 which I can, on Ubuntu 14.04.
Checking other posts related to issue on Ubuntu 16.04, i checked
ip route
and found that there are two default shown on Ubuntu 16.04
default via 192.168.5.9 dev tun0 proto static metric 50
default via 192.168.1.1 dev wlp6s0 proto static metric 600
As per other post's advice, I checked Use this connection only for resources on it network under IPV4 settings->routes on Ubuntu 16.04.
After the above settings and connecting to VPN, when I do IP route
on Ubuntu 16.04 i see
default via 192.168.1.1 dev wlp6s0 proto static metric 600
I see my WiFi is marked as default connection instead of VPN connection (I assume VPN should be default route, as per IP route output on Ubuntu 14.04 machine.)
Ubuntu 14.04 ip route
shows
default via 192.168.5.45 dev tun0 proto static
16.04 vpn openvpn
There's no need to redact private network addresses in general. Please write your real IPs, as this is crucial information in this case to determine why it does not work.
– vidarlo
Feb 21 at 6:54
@vidarlo added real IPs
– Rajen Raiyarela
Feb 21 at 7:29
add a comment |
I have checked many posts related to OpenVPN issue but seems like I'm not able to put up proper search words to find a solution.
I have OpenVPN configuration using which I have setup VPN connection and manage to connect to VPN as I see a popup with message VPN connection has been successfully established. on both Ubuntu 14.04 and Ubuntu 16.04 machines.
On both Ubuntu 14.04 and Ubuntu 16.04 machines, I can access non VPN specific websites (gmail, stackoverflow) when connected to VPN (so assume it is not something related to Internet connectivity), but I cannot access VPN specific resources i.e. web-portal and database on Ubuntu 16.04 which I can, on Ubuntu 14.04.
Checking other posts related to issue on Ubuntu 16.04, i checked
ip route
and found that there are two default shown on Ubuntu 16.04
default via 192.168.5.9 dev tun0 proto static metric 50
default via 192.168.1.1 dev wlp6s0 proto static metric 600
As per other post's advice, I checked Use this connection only for resources on it network under IPV4 settings->routes on Ubuntu 16.04.
After the above settings and connecting to VPN, when I do IP route
on Ubuntu 16.04 i see
default via 192.168.1.1 dev wlp6s0 proto static metric 600
I see my WiFi is marked as default connection instead of VPN connection (I assume VPN should be default route, as per IP route output on Ubuntu 14.04 machine.)
Ubuntu 14.04 ip route
shows
default via 192.168.5.45 dev tun0 proto static
16.04 vpn openvpn
I have checked many posts related to OpenVPN issue but seems like I'm not able to put up proper search words to find a solution.
I have OpenVPN configuration using which I have setup VPN connection and manage to connect to VPN as I see a popup with message VPN connection has been successfully established. on both Ubuntu 14.04 and Ubuntu 16.04 machines.
On both Ubuntu 14.04 and Ubuntu 16.04 machines, I can access non VPN specific websites (gmail, stackoverflow) when connected to VPN (so assume it is not something related to Internet connectivity), but I cannot access VPN specific resources i.e. web-portal and database on Ubuntu 16.04 which I can, on Ubuntu 14.04.
Checking other posts related to issue on Ubuntu 16.04, i checked
ip route
and found that there are two default shown on Ubuntu 16.04
default via 192.168.5.9 dev tun0 proto static metric 50
default via 192.168.1.1 dev wlp6s0 proto static metric 600
As per other post's advice, I checked Use this connection only for resources on it network under IPV4 settings->routes on Ubuntu 16.04.
After the above settings and connecting to VPN, when I do IP route
on Ubuntu 16.04 i see
default via 192.168.1.1 dev wlp6s0 proto static metric 600
I see my WiFi is marked as default connection instead of VPN connection (I assume VPN should be default route, as per IP route output on Ubuntu 14.04 machine.)
Ubuntu 14.04 ip route
shows
default via 192.168.5.45 dev tun0 proto static
16.04 vpn openvpn
16.04 vpn openvpn
edited Feb 21 at 7:44
Rajen Raiyarela
asked Feb 20 at 11:54
Rajen RaiyarelaRajen Raiyarela
1064
1064
There's no need to redact private network addresses in general. Please write your real IPs, as this is crucial information in this case to determine why it does not work.
– vidarlo
Feb 21 at 6:54
@vidarlo added real IPs
– Rajen Raiyarela
Feb 21 at 7:29
add a comment |
There's no need to redact private network addresses in general. Please write your real IPs, as this is crucial information in this case to determine why it does not work.
– vidarlo
Feb 21 at 6:54
@vidarlo added real IPs
– Rajen Raiyarela
Feb 21 at 7:29
There's no need to redact private network addresses in general. Please write your real IPs, as this is crucial information in this case to determine why it does not work.
– vidarlo
Feb 21 at 6:54
There's no need to redact private network addresses in general. Please write your real IPs, as this is crucial information in this case to determine why it does not work.
– vidarlo
Feb 21 at 6:54
@vidarlo added real IPs
– Rajen Raiyarela
Feb 21 at 7:29
@vidarlo added real IPs
– Rajen Raiyarela
Feb 21 at 7:29
add a comment |
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
});
}
});
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%2faskubuntu.com%2fquestions%2f1119823%2fubuntu-16-04-openvpn-cannot-access-network%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
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.
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%2faskubuntu.com%2fquestions%2f1119823%2fubuntu-16-04-openvpn-cannot-access-network%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
There's no need to redact private network addresses in general. Please write your real IPs, as this is crucial information in this case to determine why it does not work.
– vidarlo
Feb 21 at 6:54
@vidarlo added real IPs
– Rajen Raiyarela
Feb 21 at 7:29