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,775
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,775
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
  • No one is chatting at the moment.
  • Xdqwerty @ Xdqwerty:
    also gonna install twilight menu in my r4 flashcard
  • Psionic Roshambo @ Psionic Roshambo:
    One thing that just occurred to me.... The sound on the 2600 sucked less back then the harsh sound we hear now is from infinitely better speakers we have now, back when the 2600 was new speakers produced a almost muffled sound, like CRTs made old graphics look slightly better.
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if I could recommend that to some emulation devs that perhaps the sound could use some smoothing out to simulate those old TVs
  • Psionic Roshambo @ Psionic Roshambo:
    I think a few of the early systems could benefit from that, at least up to the 8 bit generation, by the 16 bit generation I think TVs had gotten a lot better in almost every way
  • Xdqwerty @ Xdqwerty:
    i dont have an sd card adapter but I have an usb sd card adapter
  • K3Nv2 @ K3Nv2:
    Old people games
  • Xdqwerty @ Xdqwerty:
    its not the one that comes with the r4
  • Xdqwerty @ Xdqwerty:
    doesnt work (my flashcard is from r4isdhc.com)
  • Xdqwerty @ Xdqwerty:
    might install ysmenu first
  • Psionic Roshambo @ Psionic Roshambo:
    Try Wood firmware
  • Psionic Roshambo @ Psionic Roshambo:
    For your R4
  • Psionic Roshambo @ Psionic Roshambo:
    It's old but it's the best firmware out for DS stuff
  • Xdqwerty @ Xdqwerty:
    it says it only works for the original R4, R4i Gold (r4ids.cn), R4iDSN (r4idsn.com) and Acekard R.P.G.
  • Xdqwerty @ Xdqwerty:
    nvm it does support mine
  • Xdqwerty @ Xdqwerty:
    but why choose it over ysmenu @Psionic Roshambo?
  • Xdqwerty @ Xdqwerty:
    bc im stupid?
  • Xdqwerty @ Xdqwerty:
    yea ik im stupid
  • Xdqwerty @ Xdqwerty:
    good night
  • Psionic Roshambo @ Psionic Roshambo:
    Just give it a try, but honestly if you have a 3DS you can play DS games without a card just off the internal SD card
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly slower loading but a bit more convenient
  • BakerMan @ BakerMan:
    guys, my fuckin headphones have an out of place speaker
  • K3Nv2 @ K3Nv2:
    Did you try wearing them?
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/eJV6GaIEgd4?si=ciLPnlhfd7XcrxQn