Page 1 of 1

Verify openvpn encryption

Posted: Wed Apr 20, 2011 10:27 am
by clinton
Hello,

How I can be sur that openvpn encrypt all my trafic? There is a way to verify that (on client and server side)?

Thanks

Re: Verify openvpn encryption

Posted: Wed Apr 20, 2011 10:37 am
by janjust
just trust the developers :)

if you want to be absolute certain install a tool like tcpdump or wireshark and capture the regular network interface (e.g. eth0, NOT tun0/tap0 or the TAP-win32 adapter on windows). Then copy over a plain text file via the VPN tunnel - if the wireshark/tcpdump shows the plain text then something's wrong. The only think you should see is garbled data.
To verify your tcpdump/wireshark test re-run with openvpn configured to NOT use encryption (e.g --cipher none --auth none) - this time you will see plain text documents fly by in plain text.