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,781
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,781
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
  • SylverReZ @ SylverReZ:
    Whoever you disclose your gender identity to, keep it private between your friends.
  • Bunjolio @ Bunjolio:
    irl or online
  • SylverReZ @ SylverReZ:
    @Bunjolio, Always is online.
  • SylverReZ @ SylverReZ:
    Pretty much.
  • Bunjolio @ Bunjolio:
    eh I don't keep it private, not much happens except idiots on TikTok making a fool of themselves
  • Bunjolio @ Bunjolio:
    im still curious as to what a chaser is tho
  • SylverReZ @ SylverReZ:
    A chaser is someone who uses (mostly trans) individuals to their advantage like I said.
  • Bunjolio @ Bunjolio:
    thats weird
  • Bunjolio @ Bunjolio:
    blahaj will keep me safe
  • Bunjolio @ Bunjolio:
    damn I forget my school blocks every video
  • SylverReZ @ SylverReZ:
    Right, yeah.
  • Bunjolio @ Bunjolio:
    dune 2 popcorn bucket
  • SylverReZ @ SylverReZ:
    Many schools use some form of firewall or protection, to prevent certain types of content from being viewable.
  • SylverReZ @ SylverReZ:
    @Bunjolio, And that haha
  • Bunjolio @ Bunjolio:
    our school blocks stuff but allows some stuff, its annoying, they legit can see our screens if they want
  • AncientBoi @ AncientBoi:
    Nah. That popcorns got sand in it :(
  • SylverReZ @ SylverReZ:
    There was a time where we were able to bypass the school's network using a VPN that wasn't blocked on the radar. Can't exactly remember the name, but I was able to watch YouTube.
  • Bunjolio @ Bunjolio:
    I used to go on proxy sites but I'm too lazy and it isn't worth it
    +1
  • SylverReZ @ SylverReZ:
    @Bunjolio, Proxy sites, not very effective.
  • Bunjolio @ Bunjolio:
    if ur on a Chromebook and cant change jack about the laptop that's what I gotta use
  • SylverReZ @ SylverReZ:
    One of the sites that weren't blocked on the school's network was some file uploading sites. I would upload some games, write down the URL and take it to school one day.
  • Bunjolio @ Bunjolio:
    lol
  • SylverReZ @ SylverReZ:
    I did it when the teachers werent looking ofc. I even managed to take in a USB stick that wasn't allowed.
    SylverReZ @ SylverReZ: I did it when the teachers werent looking ofc. I even managed to take in a USB stick that wasn't...