I want to use RC4 encryption with OpenVPN. I wrote a config file:
dev tun666
proto udp
port 1194
ca ca.crt
cert ServerVPN.crt
key ServerVPN.key
auth md5
dh dh.pem
tls-auth ta.key 0
cipher RC4
server 10.8.0.0 255.255.255.0
persist-key
persist-tun
keepalive 10 120
ifconfig-pool-persist ipp.txt
I installed OpenVPN on Windows 7 to act like a server for my Linux clients. I used the binary installer. However, when I want to start the server, I'm getting this message:
Mon Jul 07 07:04:07 2014 OpenVPN 2.3.4 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [P
KCS11] [IPv6] built on Jun 5 2014
Mon Jul 07 07:04:07 2014 library versions: OpenSSL 1.0.1h 5 Jun 2014, LZO 2.05
Enter Private Key Password:
Mon Jul 07 07:04:11 2014 WARNING: this configuration may cache passwords in memo
ry -- use the auth-nocache option to prevent this
Mon Jul 07 07:04:11 2014 Cipher 'RC4' uses a mode not supported by OpenVPN in yo
ur current configuration. CBC mode is always supported, while CFB and OFB modes
are supported only when using SSL/TLS authentication and key exchange mode, and
when OpenVPN has been built with ALLOW_NON_CBC_CIPHERS.
Mon Jul 07 07:04:11 2014 Exiting due to fatal error
Press any key to continue...
The question is: how can I use the RC4? What changes do I need to make in my config file? I know that RC4 is considered insecure, but I need such server for testing purposes only, to use it in my home network lab. Thanks for help!