При попытке подключения к OpenVPN через ssh получаю ошибку

Вот лог ошибки:

openvpn “/etc/openvpn.ovpn”

2024-08-05 10:03:51 Unrecognized option or missing or extra parameter(s) in /etc/openvpn.ovpn:20: block-outside-dns (2.6.7)

2024-08-05 10:03:51 OpenVPN 2.6.7 x86_64-t2-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]

2024-08-05 10:03:51 library versions: OpenSSL 1.1.1w 11 Sep 2023, LZO 2.10

2024-08-05 10:03:51 TCP/UDP: Preserving recently used remote address: [AF_INET]82.115.4.202:1194

2024-08-05 10:03:51 Socket Buffers: R=[212992->212992] S=[212992->212992]

2024-08-05 10:03:51 UDPv4 link local: (not bound)

2024-08-05 10:03:51 UDPv4 link remote: [AF_INET] ip скрыл

2024-08-05 10:03:51 TLS: Initial packet from [AF_INET]8 ip скрыл, sid=c8e53050 cef1d0dc

2024-08-05 10:03:51 VERIFY OK: depth=1, CN=cn_4xdlTtSY7k8aEaWe

2024-08-05 10:03:51 VERIFY KU OK

2024-08-05 10:03:51 Validating certificate extended key usage

2024-08-05 10:03:51 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication

2024-08-05 10:03:51 VERIFY EKU OK

2024-08-05 10:03:51 VERIFY X509NAME OK: CN=server_TSxu3p37X6pDAKI4

2024-08-05 10:03:51 VERIFY OK: depth=0, CN=server_TSxu3p37X6pDAKI4

2024-08-05 10:03:51 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 256 bits EC, curve prime256v1, signature: ecdsa-with-SHA256, peer temporary key: 253 bits X25519

2024-08-05 10:03:51 [server_TSxu3p37X6pDAKI4] Peer Connection Initiated with [AF_INET]82.115.4.202:1194

2024-08-05 10:03:51 TLS: move_session: dest=TM_ACTIVE src=TM_INITIAL reinit_src=1

2024-08-05 10:03:51 TLS: tls_multi_process: initial untrusted session promoted to trusted

2024-08-05 10:03:51 PUSH: Received control message: ‘PUSH_REPLY,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,redirect-gateway def1 bypass-dhcp,tun-ipv6,route-ipv6 2000::/3,redirect-gateway ipv6,tun-ipv6,route-gateway 10.8.0.1,topology subnet,ping 10,ping-restart 120,ifconfig-ipv6 fd42:42:42:42::4/112 fd42:42:42:42::1,ifconfig 10.8.0.4 255.255.255.0,peer-id 0,cipher AES-128-GCM,protocol-flags cc-exit tls-ekm dyn-tls-crypt,tun-mtu 1500’

2024-08-05 10:03:51 WARNING: You have specified redirect-gateway and redirect-private at the same time (or the same option multiple times). This is not well supported and may lead to unexpected results

2024-08-05 10:03:51 OPTIONS IMPORT: --ifconfig/up options modified

2024-08-05 10:03:51 OPTIONS IMPORT: route options modified

2024-08-05 10:03:51 OPTIONS IMPORT: route-related options modified

2024-08-05 10:03:51 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified

2024-08-05 10:03:51 OPTIONS IMPORT: tun-mtu set to 1500

2024-08-05 10:03:51 GDG6: remote_host_ipv6=n/a

2024-08-05 10:03:51 net_route_v6_best_gw query: dst ::

2024-08-05 10:03:51 sitnl_send: rtnl: generic error (-101): Network is unreachable

2024-08-05 10:03:51 TUN/TAP device tun0 opened

2024-08-05 10:03:51 /sbin/ip link set dev tun0 up mtu 1500

2024-08-05 10:03:51 Linux ip link set failed: could not execute external program

2024-08-05 10:03:51 Exiting due to fatal error

Гуглите вот эти ошибки:

Unrecognized option or missing or extra parameter(s) in /etc/openvpn.ovpn:20: block-outside-dns (2.6.7)

WARNING: You have specified redirect-gateway and redirect-private at the same time (or the same option multiple times). This is not well supported and may lead to unexpected results

Linux ip link set failed: could not execute external program

изучайте свой конфиг /etc/openvpn.ovpn.