Здравствуйте.
Подниму свою тему. Vps на оракле, ubuntu server 20.04, установил openvpn сервер.
Сервер:
port 1194
proto tcp
dev tun
ca ca.crt
cert ysss.crt
key ysss.key
dh dh.pem
server 172.21.55.0 255.255.255.0
ifconfig-pool-persist /var/log/openvpn/ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.8.8"
keepalive 10 120
tls-auth ta.key 1
tls-client
auth SHA1
cipher AES-256-CBC
user nobody
group nogroup
client-to-client
persist-key
persist-tun
status /var/log/openvpn/openvpn-status.log
log /var/log/openvpn.log
verb 3
клиент:
client
dev tun
proto tcp
remote *.*.*.* 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert m12.crt
key m12.key
remote-cert-tls server
tls-auth ta.key 1
cipher AES-256-CBC
verb 3
Подключаюсь микротиком.
Логи на сервере:
Wed Dec 22 12:37:42 2021 TCP connection established with [AF_INET]*.*.*.*:47153
Wed Dec 22 12:37:42 2021 *.*.*.*:47153 TLS: Initial packet from [AF_INET]*.*.*.*:47153, sid=be403995 0936f078
Wed Dec 22 12:37:42 2021 *.*.*.*:47153 TLS Error: cannot locate HMAC in incoming packet from [AF_INET]*.*.*.*:47153
Wed Dec 22 12:37:42 2021 *.*.*.*:47153 Fatal TLS error (check_tls_errors_co), restarting
Wed Dec 22 12:37:42 2021 *.*.*.*:47153 SIGUSR1[soft,tls-error] received, client-instance restarting
Где моя ошибка?
благодарю