LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-02-2015, 04:02 PM   #1
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Can't connect to my VPN anymore...


I have a VPN that gives me a download of ovpn files and certs so that I just enter/add servers as I need to NetworkManager on my Slackware64 14.1.

I found that I had a bad dns leak on it and was asking my VPN what to do to fix it and they were giving me fairly decent advice, but on certain servers I was still getting a dns leak.

So, I came here and did a search on 'dns leak' and came upon a few at-the-moment seemingly helpful posts. Some led to links here and there and in one of the links after reading made me decide that I must need the openvpn in my Slackware system to be 'on'.

In I went to the openvpn.conf file and adjusted what I thought needed adjusting.

Here's where it gets interesting...in another link I read, I saw I could 'test' if my openvpn.conf file was working correctly and it (the thing I had read) showed what *should* come up after I entered this:

Code:
openvpn /etc/openvpn/openvpn.conf
In my case nothing showed up as if it was a command to do something and it did it.

The problem now - after that, I can no longer connect to *any* of the servers of my VPN. Here's how I normally connect to one:

1) Click on networkmanager in taskbar
2) Click on one of the six choices of servers I've setup to choose from
3) Wait as it 'connects' (usually about ten seconds +/-) and carry on as usual on the internet.

Now what happens is, I click on one of the server choices and *instantly* get a message box informing me that that server is 'deactivated' (in other words it can't or won't even try to connect like normal.

I've uninstalled anything I could find to do with 'openvpn' (pkgtool, deleted /etc/openvpn, etc), but nothing seems to be working to fix this.

Has anyone got any ideas what happened and how I can recover so I can use my VPN again?
 
Old 12-04-2015, 04:32 PM   #2
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
What is the log output for OpenVPN when you try to start it? Also you should start openvpn from the init script.
 
Old 12-04-2015, 04:51 PM   #3
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Original Poster
Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Quote:
Originally Posted by mralk3 View Post
What is the log output for OpenVPN when you try to start it? Also you should start openvpn from the init script.
Unfortunately I deleted all things vpn including openvpn, networkmanager, networkmanager-openvpn, and re-installed them all just to see if anything would change...it didn't, except that now without even doing anything with openvpn (like the 'test' command I tried as stated in my earlier post) now when I click on one of my VPN servers to use *nothing* happens at all, not even a little window telling me it's deactivated.

I did look in /var/log and found a message from openvpn which I presume was from when I issued the test command. It reads:

Quote:
Options error: --ifconfig-pool/--ifconfig-pool-persist requires --mode server
Use --help for more information.
No idea what it means though, sadly.

As for starting openvpn from the init script, what's that and where is it? Would it give me a way to set things up in it the way I needed (like I think I was trying to do in my earlier post)?

Thanks for any help with this. It sucks having a VPN service and not able to use it any more.
 
Old 12-07-2015, 02:01 AM   #4
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Original Poster
Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Not really 'solved', but decided to install my VPN stuff and get it working on my router for the time being. Thanks for the help, mralk3.
 
  


Reply



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] Windows7 VPN clients behind Debian Gateway can not connect to Draytek VPN neopandid Linux - Server 3 08-31-2012 11:34 PM
New to VPN, want to use firefox after vpn connect DropSig Linux - Networking 2 05-16-2008 03:23 PM
Can't connect anymore atheist Linux - Networking 1 10-21-2007 10:05 PM
Linux VPN Software - How to Connect to a Windows VPN wfernley Linux - Software 2 02-07-2006 09:40 AM
How do i connect Ciscos VPN client to Checkpoint VPN server Klas Linux - Networking 1 11-29-2003 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:28 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