I followed @JDM_WAAAT’s suggestion for OpenVPN suggestion, but can’t seem to get TLS auth working on OSX + Tunnelblick. Does anyone have any suggestions on how to get this working?
I followed that configuration ^^ to the letter, but used Google Domain DyDNS instead of no-ip.org. I keep getting the following errors on the client:
Here’s my .ovpn file:
dev tun
persist-tun
persist-key
cipher AES-128-CBC
ncp-ciphers AES-128-GCM
auth SHA256
tls-client
client
resolv-retry infinite
remote <redacted-dydns-url> 1194 udp4
lport 0
verify-x509-name "<redacted-dydns-url>" name
auth-user-pass
remote-cert-tls server
<ca>
-----BEGIN CERTIFICATE-----
<redacted>
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
<redacted>
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
<redacted>
-----END PRIVATE KEY-----
</key>
key-direction 1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
<redacted>
-----END OpenVPN Static key V1-----
</tls-auth>
Logs from tunnelblick
2020-07-22 01:58:25.457277 MANAGEMENT: CMD 'username "Auth" "vpn"'
2020-07-22 01:58:25.457327 MANAGEMENT: CMD 'password [...]'
2020-07-22 01:58:25.457488 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2020-07-22 01:58:25.492773 Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
2020-07-22 01:58:25.492814 Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
2020-07-22 01:58:25.493463 MANAGEMENT: >STATE:1595408305,RESOLVE,,,,,,
2020-07-22 01:58:28.643976 TCP/UDP: Preserving recently used remote address: [AF_INET]192.168.30.75:1194
2020-07-22 01:58:28.644079 Socket Buffers: R=[786896->786896] S=[9216->9216]
2020-07-22 01:58:28.644112 UDPv4 link local (bound): [AF_INET][undef]:0
2020-07-22 01:58:28.644124 UDPv4 link remote: [AF_INET]192.168.30.75:1194
2020-07-22 01:58:28.644178 MANAGEMENT: >STATE:1595408308,WAIT,,,,,,
2020-07-22 01:58:28.649123 MANAGEMENT: >STATE:1595408308,AUTH,,,,,,
2020-07-22 01:58:28.652131 TLS: Initial packet from [AF_INET]192.168.30.75:1194, sid=201007c0 2c73098a
2020-07-22 01:58:28.652156 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]192.168.30.75:1194
2020-07-22 01:58:31.025433 MANAGEMENT: >STATE:1595408311,AUTH,,,,,,
2020-07-22 01:58:31.025517 TLS: Initial packet from [AF_INET]192.168.30.75:1194, sid=201007c0 2c73098a
2020-07-22 01:58:31.025542 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]192.168.30.75:1194
2020-07-22 01:58:35.924539 MANAGEMENT: >STATE:1595408315,AUTH,,,,,,
2020-07-22 01:58:35.924619 TLS: Initial packet from [AF_INET]192.168.30.75:1194, sid=201007c0 2c73098a
2020-07-22 01:58:35.924655 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]192.168.30.75:1194
2020-07-22 01:58:37.803473 *Tunnelblick: Disconnecting; VPN Details… window disconnect button pressed
2020-07-22 01:58:37.948486 *Tunnelblick: Disconnecting using 'kill'
I have verified that the firewall has WAN rules for 1194 and repeated all the steps in the installation guide from scratch. Any help would be much appreciated!