Results 1 to 4 of 4

Thread: openVPN connects but without internet and VPN network access

  1. #1
    Join Date
    Aug 2015
    Beans
    3

    openVPN connects but without internet and VPN network access

    Hi,

    I'm having a bit of an issue when trying to use openVPN on my computer. I'm using this to connect:
    Code:
    sudo openvpn --config client.ovpn
    Connection seems to be successful but when I try to navigate or access resources within the VPN I get the "This site can’t be reached" error. The only thing that is loading is google.com, but nothing else.

    I've been looking all around this forum (and others), but I'm not being able to fix this. Probable due to my almost zero knowledge on this matter.

    I would appreciate any help provided.

    Thanks!

  2. #2
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,701

    Re: openVPN connects but without internet and VPN network access

    First let's have a look at your routing table and check your dns resolution - can you post the output of these commands:
    Code:
    ip route
    host ubuntu.com
    ping -c3 ubuntu.com
    host cisco.com 8.8.8.8

  3. #3
    Join Date
    Aug 2015
    Beans
    3

    Re: openVPN connects but without internet and VPN network access

    Well, after all the things I tried, it is now connecting and working as expected. Don't know what did the trick, but I'm glad it now works

    Thanks for the help and sorry that I opened this in vain.

  4. #4
    Join Date
    Aug 2015
    Beans
    3

    Re: openVPN connects but without internet and VPN network access

    Quote Originally Posted by The Cog View Post
    First let's have a look at your routing table and check your dns resolution - can you post the output of these commands:
    Code:
    ip route
    host ubuntu.com
    ping -c3 ubuntu.com
    host cisco.com 8.8.8.8
    I'm back, things are broken again
    These are the commands requested above, I executed them once connected to the VPN:

    Code:
    s3ns3i@s3ns3i:~$ ip route
    0.0.0.0/1 via 172.27.232.1 dev tun0 
    default via 192.168.0.1 dev wlp2s0  proto static  metric 600 
    54.165.179.18 via 192.168.0.1 dev wlp2s0 
    128.0.0.0/1 via 172.27.232.1 dev tun0 
    169.254.0.0/16 dev wlp2s0  scope link  metric 1000 
    172.27.232.0/21 dev tun0  proto kernel  scope link  src 172.27.234.43 
    192.168.0.0/24 dev wlp2s0  proto kernel  scope link  src 192.168.0.5  metric 600
    Code:
    s3ns3i@s3ns3i:~$ host ubuntu.com
    ;; connection timed out; no servers could be reached
    Code:
    s3ns3i@s3ns3i:~$ ping -c3 ubuntu.com
    ping: unknown host ubuntu.com
    Code:
    s3ns3i@s3ns3i:~$ host cisco.com 8.8.8.8
    Using domain server:
    Name: 8.8.8.8
    Address: 8.8.8.8#53
    Aliases: 
    
    
    cisco.com has address 72.163.4.185
    cisco.com has IPv6 address 2001:420:1101:1::185
    cisco.com mail is handled by 10 alln-mx-01.cisco.com.
    cisco.com mail is handled by 30 aer-mx-01.cisco.com.
    cisco.com mail is handled by 20 rcdn-mx-01.cisco.com.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •