Windows 8.1 - Openvpn TUN - cannot ping gateway

Samples of working configurations.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Locked
feeling
OpenVpn Newbie
Posts: 16
Joined: Fri Jan 30, 2015 1:49 pm

Windows 8.1 - Openvpn TUN - cannot ping gateway

Post by feeling » Fri Jan 30, 2015 2:21 pm

Hello,

I'm a new member on this forum, hello everybody ,

I have a little trouble with the openvpn gui client for windows 8.1 (TUN mode)

I explain my set-up:

- The server is running on openwrt (linux) : openvpn-openssl - 2.3.2-3
- 2 clients on android : work like a charm
- 1 client on linux : work like a charm
- 1 client on windows : *Oops* connect but cannot ping anything.

The server config is very simple :

Code: Select all

port 1194
proto tcp
dev tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/homeserver.crt
key /etc/openvpn/homeserver.key
dh /etc/openvpn/dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist /tmp/ipp.txt
client-config-dir ccd
route 10.8.0.0 255.255.255.0
route 10.8.1.0 255.255.255.0
keepalive 10 120
comp-lzo
persist-key
persist-tun
status /tmp/openvpn-status.log
verb 3
And on the windows client side :

Code: Select all

client
dev tun
proto udp
remote my.server.fqdn 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client7.crt
key client7.key
remote-cert-tls server
comp-lzo
verb 3
route-method exe
route-delay 2
route 0.0.0.0 0.0.0.0 vpn_gateway
The client connects, get an ip ( 10.8.0.10 ) and a gateway ( 10.8.0.9 ).
I also get a route 10.8.0.1 netmask 255.255.255.255 via gateway 10.8.0.9 trough interface 10.8.0.10 (it seems to be logic ....)
-> I cannot ping the gateway 10.8.0.9 nor 10.8.0.1

Somebody have an idea ?

Thanx !

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Windows 8.1 - Openvpn TUN - cannot ping gateway

Post by maikcat » Fri Jan 30, 2015 5:08 pm

are you running your client with admin rights?

Michael.

Locked