Verify openvpn encryption

This forum is for admins who are looking to build or expand their OpenVPN setup.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
clinton
OpenVpn Newbie
Posts: 5
Joined: Sun Mar 20, 2011 6:24 pm

Verify openvpn encryption

Post by clinton » Wed Apr 20, 2011 10:27 am

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

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Verify openvpn encryption

Post by janjust » Wed Apr 20, 2011 10:37 am

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.

Post Reply