Page 1 of 1

How work encrypt/decrypt openvpn?

Posted: Tue Jul 22, 2014 2:31 pm
by akademik503
I have a some question.
when encryption/decription work?

For example i have client with real interface eth1, dev tun1 and server interface eth2, dev tun2

which scheme is correct?

eth1(opendata) -> (odata)tun1(odata) -> encript -> closedata_tunnel-> decript ->(odata)tun2(odata)->eth2
or
eth1(odata) ->encript-> (cdata)tun1(cdata) -> closedata_tunnel-> ->(cdata)tun2(cdata)->decript->(odata)eth2

tun have opendata or closedata?


sorry for my english)