OpenVPN on Windows 8.1 not routing

TheDreamLord

Well-Known Member
OP
Member
Joined
Jun 8, 2011
Messages
939
Trophies
0
Age
24
Location
Ireland
Website
darkraino1.zymichost.com
XP
476
Country
Heya.

So I bought a dedicated server and got OpenVPN running on it. Works fine on my Android and laptop which runs Ubuntu, but not my Windows PC. There are seemingly no errors. It connects fine and all that but does not route anything through it. Here is the current console.

Thu Sep 11 12:56:32 2014 OpenVPN 2.3.4 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Aug 7 2014
Thu Sep 11 12:56:32 2014 library versions: OpenSSL 1.0.1i 6 Aug 2014, LZO 2.05
Thu Sep 11 12:56:32 2014 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Thu Sep 11 12:56:47 2014 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Thu Sep 11 12:56:47 2014 UDPv4 link local: [undef]
Thu Sep 11 12:56:47 2014 UDPv4 link remote: [AF_INET]xxx.xx.xxx.xx:1194
Thu Sep 11 12:56:48 2014 [xxxxxxxxxx] Peer Connection Initiated with [AF_INET]xxx.xx.xxx.xx:1194
Thu Sep 11 12:56:51 2014 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Sep 11 12:56:51 2014 open_tun, tt->ipv6=0
Thu Sep 11 12:56:51 2014 TAP-WIN32 device [Ethernet 2] opened: \\.\Global\{31D82CFF-8467-4A1A-9DA7-71477DF8C54A}.tap
Thu Sep 11 12:56:51 2014 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.6/255.255.255.252 on interface {31D82CFF-8467-4A1A-9DA7-71477DF8C54A} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Thu Sep 11 12:56:51 2014 Successful ARP Flush on interface [6] {31D82CFF-8467-4A1A-9DA7-71477DF8C54A}
Thu Sep 11 12:57:22 2014 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Thu Sep 11 12:57:22 2014 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Thu Sep 11 12:57:22 2014 Initialization Sequence Completed
It runs with admin rights, Network Connects service is on, RAS is enabled and the TAP-Windows driver functions normally. When running command prompt "client.ovpn" I get the same output as above.
It looks like it should run fine, but it doesn't.

My client.ovpn

clientpull
dev tun
proto udp
remote xxx.xx.xxx.xx 1194
nobind
persist-key
persist-tun
ca ca.crt
cert nexus.crt
key nexus.key
route-method exe
comp-lzo
route-delay 30
route-metric 512
route 0.0.0.0 0.0.0.0
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
 

SlCKB0Y

Well-Known Member
Member
Joined
Nov 22, 2006
Messages
125
Trophies
1
Location
Sydney
XP
367
Country
Does your local Windows routing table show the required entries to route over the VPN?

Can you ping the VPN gateway?

What OS is the remote server running?

What is the purpose for setting up the VPN?
 

Dimensional

Well-Known Member
Member
Joined
Dec 7, 2008
Messages
1,008
Trophies
1
Age
34
Location
Texas
XP
2,790
Country
United States
How do you know it's not working though? If you know the IP address of your OpenVPN server, then while you're openvpn client is connected with that output, check What's My IP to see if it give you the IP of your server or not.

Also here's a sample of my working client side conf:

client
proto udp
dev tun
ca ca.crt
dh dh2048.pem
cert ***.crt
key ***.key
remote xxx.xxx.xxx.xxx 443
tls-auth ta.key 1
cipher AES-256-CBC
verb 2
mute 20
tun-mtu 1500
mssfix 1450
keepalive 10 120
comp-lzo
persist-key
persist-tun
float
resolv-retry infinite
nobind

As you can see, the bottom three items you see in your config are not in mine. Those are in my server side, though I don't have bypass-dhcp in mine.
 

TheDreamLord

Well-Known Member
OP
Member
Joined
Jun 8, 2011
Messages
939
Trophies
0
Age
24
Location
Ireland
Website
darkraino1.zymichost.com
XP
476
Country
Does your local Windows routing table show the required entries to route over the VPN?

Can you ping the VPN gateway?

What OS is the remote server running?


What is the purpose for setting up the VPN?

Yes

No

Ubuntu 14.04

Does not matter

How do you know it's not working though? If you know the IP address of your OpenVPN server, then while you're openvpn client is connected with that output, check What's My IP to see if it give you the IP of your server or not.

Also here's a sample of my working client side conf:

client
proto udp
dev tun
ca ca.crt
dh dh2048.pem
cert ***.crt
key ***.key
remote xxx.xxx.xxx.xxx 443
tls-auth ta.key 1
cipher AES-256-CBC
verb 2
mute 20
tun-mtu 1500
mssfix 1450
keepalive 10 120
comp-lzo
persist-key
persist-tun
float
resolv-retry infinite
nobind

As you can see, the bottom three items you see in your config are not in mine. Those are in my server side, though I don't have bypass-dhcp in mine.



SAme IP.

I did fix it by removing the "pull" which is server-side only, however now I cannot view websites etc after a minute of use.
 

Dimensional

Well-Known Member
Member
Joined
Dec 7, 2008
Messages
1,008
Trophies
1
Age
34
Location
Texas
XP
2,790
Country
United States
Yes

No

Ubuntu 14.04

Does not matter





SAme IP.

I did fix it by removing the "pull" which is server-side only, however now I cannot view websites etc after a minute of use.
Interesting. How about you sent me a note with the server and client side configurations, and I'll see what must be changed. I used a program on my server called Webmin, and a tutorial to help me set up the configuration for my server, so I should be able to figure out how to get yours working, possibly.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Go gay there I made up his mind
  • AncientBoi @ AncientBoi:
    :rofl2::tpi::rofl2: I meant his eyes :tpi::rofl2::tpi:
  • ZeroT21 @ ZeroT21:
    :toot:blow me then @K3Nv2
  • K3Nv2 @ K3Nv2:
    Nah I'm straight but you're more than welcome to blow ancientboi
  • ZeroT21 @ ZeroT21:
    LOL, which straight person does not make gay jokes?
    +1
  • K3Nv2 @ K3Nv2:
    I'm straight but we can whack dicks together
  • ZeroT21 @ ZeroT21:
    nah, I'm gud over here, no need for sword fights

    :glare:
    +1
  • K3Nv2 @ K3Nv2:
    Dick slang
  • K3Nv2 @ K3Nv2:
    See ancientboi already has a crush on you
  • AncientBoi @ AncientBoi:
    [brings my ⚔️ ] On Guard :D:evil::wub:
  • K3Nv2 @ K3Nv2:
    Looks more like a dagger to me
  • AncientBoi @ AncientBoi:
    Pffffft I have a crush on everybody
  • ZeroT21 @ ZeroT21:
    I see no problem, unless i happen to grow another gender one day. Too bad it ain't now
  • K3Nv2 @ K3Nv2:
    Thought you already had both hotswappable gender fluid
  • ZeroT21 @ ZeroT21:
    Enjoy whatever life chucks your way

    :teach:
    +1
  • K3Nv2 @ K3Nv2:
    Deeze nuts
  • AncientBoi @ AncientBoi:
    Dem Nutz
  • ZeroT21 @ ZeroT21:
    'Em nutters
  • AncientBoi @ AncientBoi:
    M&M nutz
    +1
  • K3Nv2 @ K3Nv2:
    Slim anus nutter
  • AncientBoi @ AncientBoi:
    :unsure::unsure::unsure: I might go buy them M&M w/nuts. I gotta go out to pay the rent anyway
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Eat a Snickers!
    Psionic Roshambo @ Psionic Roshambo: Eat a Snickers!