Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.)

Thank you. -John

(Below are some key settings I'm using in client.ovpn:)

dev tun

proto udp

client

nobind

persist-key

persist-tun

share|improve this question
    
The openvpn client normally provides a detailed log file that could provide some clues for debugging your issue. You might get some more traction if you posted that log file if you are still experiencing this problem –  Ameer Deen Jan 9 '12 at 14:56
    
I have spent many hours on this same problem. Did you ever find a fix? Is it not possible to use OpenVPN in Windows on Amazon EC2? –  paradroid Mar 6 '12 at 11:01
    
I too have the exact same problem on amazon ec2. Not quite sure what is causing this. On another instance its running perfectly. –  Ophidian Jan 28 '13 at 9:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.