I am using OpenVPN for a VPN client in an Amazon's EC2 machine instance of Windows Server 2008 (32bit). It successfully connects, briefly, and I get
Reply from 10.9.0.1: bytes=32 time=39ms TTL=64
Reply from 10.9.0.1: bytes=32 time=47ms TTL=64
Reply from 10.9.0.1: bytes=32 time=40ms TTL=64
Reply from 10.9.0.1: bytes=32 time=54ms TTL=64
PING: transmit failed, error code 1232
PING: transmit failed, error code 1232
PING: transmit failed, error code 1232
It was suggested that I DISABLE/ENABLE the TAP adapter associated with the connection. But when I do that it causes the instance to freeze - I am dropped and cannot connect until after I reboot the instance. No seemingly relevant information is left in any event log (System, Application, or OpenVPN's log), or bugcheck file.
Does anybody know a better way to get OpenVPN to work as a client in EC2? (Specifically, OpenVPN and EC2.)
For any help that may be offered, Thank you. -John
(Below are some details, and key settings I'm using in client.ovpn:)
OpenVPN 2.2.0 Win32-MSVC++ [SSL] [LZO2] built on Apr 26 2011
Originally developed by James Yonan [Thanks!]
Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <
sales@openvpn.net>
-TAP-Win32 Provider V9 ((4/19/2010)) ((Ver 9.0.0.8))
client.ovpn:
dev tun
proto udp
client
nobind
persist-key
persist-tun