LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-14-2014, 04:57 PM   #1
ts1971
LQ Newbie
 
Registered: May 2008
Posts: 15

Rep: Reputation: 0
Bad connection to VPN Service through OpenVPN


Hi,

I am a pretty new Ubuntu (ver 12.04 LTS) user and I'm having trouble connecting to a VPN service I recently subscribed to. I have two machines, one running Ubuntu and the other Windows 7 and both are behind a linksys router and a cable modem. I was able to download the VPN service's proprietary windows software and everything work's fine.

On ubuntu I was hoping to just connect manually using openvpn and towards that end I installed openvpn and downloaded both the UDP and TCP versions of the appropriate opvn file from the VPN service's website. Then I su'd to root and issues this command:

openvpn --config fileNameOfOVPNFile

I am then prompted for my username / password which I enter and then there are a bunch of diagnostics spit out the screen, most of which mean nothing to me, but I don't see any that seem to indicate obvious errors. The final line that's output is 'Initialization Sequence Completed' So this all seems good, but then when I try to connect to webpage from my browser, everything just times out. In order to restore internet connectivity, I have to CTRL-X in the XTERM where I started openvpn.

I am new to both VPNs and Linux and I'm hoping that there is just some service I need to restart or something after I've connected to to my VPN service. If that's not the case, can someone give me some pointers about how to troubleshoot this?

Thanks in advance!
 
Old 07-15-2014, 10:17 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,225

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Once you connect, do you want all of your network traffic to go through the VPN? If so, the vpn config should be setting your default Gateway to the remote end of the vpn. You can check this with the command "route". If route is ok, then check that you don't have a firewall enabled which is blocking access. I think there is a GUI for that in the settings window.
 
Old 07-17-2014, 11:48 AM   #3
marianparlors
LQ Newbie
 
Registered: Jul 2014
Posts: 3

Rep: Reputation: Disabled
VPN Remedy

Did you even check the protocol after you've connected the process? Try to manage the default settings in the remote end of the router to make sure you're not putting hinders with your firewall enabled of course. Try to use this PrimoVPN which is by the way works for all even in the remote area of access.

Last edited by marianparlors; 07-20-2014 at 01:29 AM.
 
  


Reply

Tags
openvpn


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
VPN connection using TLS protocol with openVPN netpumber Linux - Networking 1 07-01-2013 06:47 AM
Connecting to OpenVPN and sharing that connection to another VPN as server depam Linux - Software 2 01-22-2013 08:42 AM
openvpn + newtorkmanager [no VPN connection was active] BlackHawk Linux - Networking 7 07-16-2011 12:33 AM

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

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