Zarówno w konfiguracji serwera, jak i klienta ustawiłem:
cipher none
auth none
Zgodnie z tą radą używam również portu UDP 1195.
Po uruchomieniu serwera i klienta otrzymuję następujące ostrzeżenia:
Tue Dec 4 12:58:25 2018 ******* WARNING *******: '--cipher none' was specified. This means NO encryption will be performed and tunnelled data WILL be transmitted in clear text over the network! PLEASE DO RECONSIDER THIS SETTING!
Tue Dec 4 12:58:25 2018 ******* WARNING *******: '--auth none' was specified. This means no authentication will be performed on received packets, meaning you CANNOT trust that the data received by the remote side have NOT been manipulated. PLEASE DO RECONSIDER THIS SETTING!
... co jest dobre, ale wciąż openvpn używa szyfrowania. Wiem to, ponieważ:
1) Gdy klient łączy się, pojawia się następujący komunikat:
Tue Dec 4 12:59:59 2018 client_abc/10.20.73.2:36752 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Tue Dec 4 12:59:59 2018 client_abc/10.20.73.2:36752 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2) Mam duże obciążenie procesora po obu stronach
3) Widzę w Wireshark, że dane są szyfrowane
Co jeszcze jest wymagane do wyłączenia szyfrowania?