DigitalHurricane
No matter what cipher I specify, AES-256-GCM is always used. Why is this? It looks like it's being pushed from the server, but I don't have it in my server config.
client config:
client
proto udp
dev tun
remote my_server 1194
resolv-retry infinite
nobind
persist-key
management 127.0.0.1 7127
persist-tun
remote-cert-tls server
cipher AES-256-CBC
auth SHA512
setenv opt block-outside-dns
tls-version-min 1.2
tls-client
verb 3
<ca>
my ca key
</ca>
<key>
my key
</key>
key-direction 1
<tls-crypt>
key
</tls-crypt>
server conf:
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh none
user nobody
group nogroup
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
auth SHA512
tls-version-min 1.2
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
persist-key
persist-tun
crl-verify crl.pem
tls-server
tls-crypt tls-auth.key 0
key-direction 0
verb 3
log /var/log/openvpn_ec.log
cipher AES-256-CBC
When i connect, I'm always getting this on the client side:
Mon Feb 13 17:07:18 2017 Data Channel Encrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
Mon Feb 13 17:07:18 2017 Data Channel Decrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
also this:
Mon Feb 13 17:07:18 2017 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route-gateway 10.8.0.1,topology subnet,ping 10,ping-restart 120,ifconfig 10.8.0.2 255.255.255.0,peer-id 0,cipher AES-256-GCM'
Can someone point me in the right direction?