I'm experiencing a most perculiar error;
I have a Windows 8.1 client running openvpn 2.3.2-I003 as an administrator - with Windows 7/Vista sp2/Vista sp1/Vista compatibility enabled - trying to connect to openvpn 2.3.2-4 on Fedora 19.
The connection (seemingly) establishes correctly and a route to the remote subnet is added but I cannot contact any remote servers.
Here is the client-side VPN.ovpn:
### BEGIN CLIENT SIDE CONFIGURATION FILE ###
#
# tun16 configuration for jonny_doe
#
# vpn server to contact
remote openvpn.mydomain.com
# port to establish connection on
port 5050
# local tunnel device
dev tun16
# interface addresses
tun-mtu 1500
ifconfig 10.30.4.66 10.30.4.65
ip-win32 dynamic
route 193.0.0.0 255.255.255.0 10.30.4.65
dhcp-option DNS 193.0.0.1
dhcp-option WINS 193.0.0.1
# key location
secret "c:\\program files\\OpenVPN\\config\\key.txt"
# moderate verbosity
verb 0
mute 10
;fragment 1300
mssfix
; ping-restart 60
; ping-timer-rem
; persist-tun
; persist-key
; resolv-retry 86400
# keep-alive ping
ping 10
# enable LZO compression
comp-lzo
# moderate verbosity
verb 4
mute 10
Here is my server-side tun16.conf:
### Start Config File Port 5050 ###
#
# tun16 configuration for jonnydoe
#
# local tun device
dev tun16
# interface addresses
ifconfig 10.30.4.65 10.30.4.66
push "route 193.0.0.0 255.255.255.0"
push "dhcp-option DNS 193.0.0.1"
push "dhcp-option WINS 193.0.0.1"
# key location
secret /etc/openvpn/keys/tun16.key
# port to listen on
port 5050
# user to run as
user nobody
group nobody
# options
comp-lzo
ping 15
verb 1
### End Config File Port 5050 ###
What I find is this:
C:\users\default\ping 10.30.4.65
Reply from 10.30.4.66: Destination Host Unreachable
Reply from 10.30.4.66: Destination Host Unreachable
Reply from 10.30.4.66: Destination Host Unreachable
Reply from 10.30.4.66: Destination Host Unreachable
C:\users\default\ping 193.0.0.1
Reply from 10.30.4.66: Destination Host Unreachable
Reply from 10.30.4.66: Destination Host Unreachable
Reply from 10.30.4.66: Destination Host Unreachable
Reply from 10.30.4.66: Destination Host Unreachable
When I perform a tcpdump of my internet traffic on my remote server, I see:
[root@wall ~] tcpdump -i p3p1 -n -n port 5050
09:41:06.418077 IP (my IP address).5050 > (remote IP address).5050: UDP, length 60
09:41:21.657503 IP (my IP address).5050 > (remote IP address).5050: UDP, length 60
09:41:36.673644 IP (my IP address).5050 > (remote IP address).5050: UDP, length 60
09:41:51.897014 IP (my IP address).5050 > (remote IP address).5050: UDP, length 60
09:42:06.934218 IP (my IP address).5050 > (remote IP address).5050: UDP, length 60
It seems to be ignoring my OpenVPN tunnel and going straight out to the internet.
What is even more strange is when I try this connection on a slightly older system: Windows 8.0 with OpenVPN 2.3.2-I003 running as administrator with Windows XP Service Pack 3 compatibility, my world is roses:
C:\users\default\ping 10.30.4.65
Reply from 10.30.4.66: bytes=32 time=483ms TTL=64
Reply from 10.30.4.66: bytes=32 time=381ms TTL=64
Reply from 10.30.4.66: bytes=32 time=402ms TTL=64
Reply from 10.30.4.66: bytes=32 time=344ms TTL=64
C:\users\default\ping 193.0.0.1
Reply from 193.0.0.1: bytes=32 time=438ms TTL=64
Reply from 193.0.0.1: bytes=32 time=383ms TTL=64
Reply from 193.0.0.1: bytes=32 time=404ms TTL=64
Reply from 193.0.0.1: bytes=32 time=451ms TTL=64
Windows 8.1 can only go backwards in compatibility to Vista (no sp) which does not work.
Has any one seen this before?