Hi,
I'm trying to connect my client to my server but I get the error in subject. Googoling a while, I can confirm than TLS option is disabled on server/client
2016-09-18 14:26:23+0100 [-] OVPN 0 OUT: 'Sun Sep 18 13:26:23 2016 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]2.25.60.99:23734'
2016-09-18 14:26:25+0100 [-] OVPN 0 OUT: 'Sun Sep 18 13:26:25 2016 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]2.25.60.99:237
---SERVER--
...
# The second parameter should be '0'
# on the server and '1' on the clients.
;tls-auth ta.key 0 # This file is secret
...
--CLIENT--
...
# then every client must also have the key.
;tls-auth ta.key 1
...
I have tried also to enable the feature and create the key but a that point I get
2016-09-18 11:38:45+0100 [-] OVPN 0 OUT: 'Sun Sep 18 10:38:45 2016 Authenticate/Decrypt packet error: packet HMAC authentication failed'
2016-09-18 11:38:45+0100 [-] OVPN 0 OUT: 'Sun Sep 18 10:38:45 2016 TLS Error: incoming packet authentication failed from [AF_INET]2.25.60.99:22932'
Any idea?
Thanks!
TLS Error: cannot locate HMAC in incoming packet from
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Sun Sep 18, 2016 1:39 pm
-
- OpenVpn Newbie
- Posts: 3
- Joined: Sun Sep 18, 2016 1:39 pm
Openvpn LOGS
Hi,
Following indications I enabled the syslog on server config file but I cannot see the logs under the directory. Any idea why?
# Output a short status file showing
# current connections, truncated
# and rewritten every minute.
status openvpn-status.log
# By default, log messages will go to the syslog (or
# on Windows, if running as a service, they will go to
# the "\Program Files\OpenVPN\log" directory).
# Use log or log-append to override this default.
# "log" will truncate the log file on OpenVPN startup,
# while "log-append" will append to it. Use one
# or the other (but not both).
;log openvpn.log
;log-append openvpn.log
log-append /var/log/openvpn.log
# Set the appropriate level of log
# file verbosity.
#
# 0 is silent, except for fatal errors
# 4 is reasonable for general usage
# 5 and 6 can help to debug connection problems
# 9 is extremely verbose
verb 9
Following indications I enabled the syslog on server config file but I cannot see the logs under the directory. Any idea why?
# Output a short status file showing
# current connections, truncated
# and rewritten every minute.
status openvpn-status.log
# By default, log messages will go to the syslog (or
# on Windows, if running as a service, they will go to
# the "\Program Files\OpenVPN\log" directory).
# Use log or log-append to override this default.
# "log" will truncate the log file on OpenVPN startup,
# while "log-append" will append to it. Use one
# or the other (but not both).
;log openvpn.log
;log-append openvpn.log
log-append /var/log/openvpn.log
# Set the appropriate level of log
# file verbosity.
#
# 0 is silent, except for fatal errors
# 4 is reasonable for general usage
# 5 and 6 can help to debug connection problems
# 9 is extremely verbose
verb 9