LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-07-2015, 04:47 PM   #1
newbeeman
Member
 
Registered: Jun 2008
Posts: 70

Rep: Reputation: 2
VPN connection problems.


I am attempting to install openvpn from HMA in my Mint 17.1 and have run into a major setback.
Installed via HMA tutorials.
Reset the DNS via network manager.
I get a connection notification but on trying to access a web site via Firefox or Chrome I get a "Web server not available" or "Page not available" every time.
Have spent days working with HMA, searched google till my fingers bleed, nothing. Have tried PPTP and L2TP, same result.
I have just clean installed the latest Mint 17.3, with a Cisco router, same situation.
Can anyone help with the basics, something is missing, possibly in my program?
 
Old 12-08-2015, 02:36 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,870

Rep: Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152
Can you ping the VPN gateway successfully? Can you ping a given web site by its IP address? It may well be a DNS issue at play.

Check name server assignment when VPN active
Code:
grep -i name /etc/resolv.conf
You might need to configure it manually.
 
Old 12-08-2015, 10:20 AM   #3
newbeeman
Member
 
Registered: Jun 2008
Posts: 70

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by ferrari View Post
Can you ping the VPN gateway successfully? Can you ping a given web site by its IP address? It may well be a DNS issue at play.

Check name server assignment when VPN active
Code:
grep -i name /etc/resolv.conf
You might need to configure it manually.
All ping tests completed.
Terminal test revealed 127.0.1.1
Unsure what that means.
Comments?
 
Old 12-09-2015, 01:58 AM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,870

Rep: Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152
The command given was to report 'nameserver' IP address currently assigned. The address given doesn't make sense. 127.x.x.x are reserved for the loopback address block.

You could try assigning a valid name server manually with
Code:
echo "nameserver 208.67.220.220" > /etc/resolv.conf
This IP address corresponds to an OpenDNS server. More info here

https://use.opendns.com/
 
Old 12-09-2015, 02:13 PM   #5
newbeeman
Member
 
Registered: Jun 2008
Posts: 70

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by ferrari View Post
The command given was to report 'nameserver' IP address currently assigned. The address given doesn't make sense. 127.x.x.x are reserved for the loopback address block.

You could try assigning a valid name server manually with
Code:
echo "nameserver 208.67.220.220" > /etc/resolv.conf
This IP address corresponds to an OpenDNS server. More info here

https://use.opendns.com/
I reset the DNS using the above link, no change, but trying to use the 'Echo' suggestion I just got a permission denied.
Now I'm into the "failed due to lack of VPN secrets'. One step forward two steps back!!
 
Old 12-10-2015, 09:35 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,870

Rep: Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152
Quote:
I reset the DNS using the above link, no change, but trying to use the 'Echo' suggestion I just got a permission denied.
You need to do that with root permission eg using sudo
Code:
sudo echo "nameserver 208.67.220.220" > /etc/resolv.conf
Quote:
Now I'm into the "failed due to lack of VPN secrets'. One step forward two steps back!!
Only you can sort that one!
 
Old 12-10-2015, 09:57 PM   #7
newbeeman
Member
 
Registered: Jun 2008
Posts: 70

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by ferrari View Post
You need to do that with root permission eg using sudo
Code:
sudo echo "nameserver 208.67.220.220" > /etc/resolv.conf

Only you can sort that one!
Strange! I did use sudo, I'm not that much of a dummy?!!! But thanks for the rejection, I'll try elsewhere.
 
Old 12-10-2015, 10:07 PM   #8
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,870

Rep: Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152Reputation: 1152
Quote:
Strange! I did use sudo, I'm not that much of a dummy?!!! But thanks for the rejection, I'll try elsewhere.
No rejection intended. I just meant that only you know the authentication credentials needed to connect via VPN.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] VPN connection problems thirteen_engines Slackware 8 03-17-2015 11:25 AM
script to change vpn connection if slow vpn connection andrew44 Linux - General 2 02-23-2014 11:25 AM
Cisco VPN connection problems. stelmate Linux - Networking 1 04-15-2008 05:58 PM
Problems with the VPN internet connection Deadw Slackware 1 04-01-2008 04:03 PM
VPN - is there a way to use VPN & normal connection at the same time? natv Linux - Networking 4 09-05-2007 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration