Jump to content

Recommended Posts

Создал OpenVPN сервер на VPS этим скриптом openvpn-install ПК подключается, keenetik Lite III сообщает о ошибке конфигурации. Название файла.ovpn соответствует названию подключения в роутере. Содержимое файла.

Spoiler

client
dev tun
proto udp
sndbuf 0
rcvbuf 0
remote ip-сервера порт
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
setenv opt block-outside-dns
key-direction 1
verb 3
<ca>
-----BEGIN CERTIFICATE-----
тут код
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
тут код
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
тут код
-----END PRIVATE KEY-----
</key>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
тут код
-----END OpenVPN Static key V1-----
</tls-auth>

 

Логи роутера:

Spoiler

Feb  3 19:00:58 ndm: Network::Interface::Base: "OpenVPN0": description saved.
Feb  3 19:00:58 ndm: Network::Interface::Base: "OpenVPN0": deleted all roles.
Feb  3 19:00:58 ndm: Network::Interface::Base: "OpenVPN0": assigned role "misc" for OpenVPN0.
Feb  3 19:00:58 ndm: Network::Interface::IP: "OpenVPN0": IP address cleared.
Feb  3 19:00:58 ndm: Dns::InterfaceSpecific: static name server list cleared on OpenVPN0.
Feb  3 19:00:58 ndm: Network::Interface::IP: "OpenVPN0": TCP-MSS adjustment enabled.
Feb  3 19:00:59 ndm: Network::Interface::OpenVpn: "OpenVPN0": configuration successfully saved.
Feb  3 19:00:59 ndm: Network::Interface::OpenVpn: "OpenVPN0": enable automatic routes accept via tunnel.
Feb  3 19:00:59 ndm: Network::Interface::IP: "OpenVPN0": order is 0.
Feb  3 19:00:59 ndm: Network::Interface::IP: global priority recalculated.
Feb  3 19:00:59 ndm: Network::Interface::OpenVpn: "OpenVPN0": set connection via WifiMaster0/WifiStation0.
Feb  3 19:00:59 ndm: Network::Interface::Base: "OpenVPN0": schedule cleared.
Feb  3 19:00:59 ndm: Core::ConfigurationSaver: saving configuration...
[E] Feb  3 19:01:02 OpenVPN0: Unrecognized option or missing or extra parameter(s) in configuration: (line 14): block-outside-dns (2.4.6)
[E] Feb  3 19:01:02 OpenVPN0: Exiting due to fatal error
[E] Feb  3 19:01:02 ndm: Service: "OpenVPN0": unexpectedly stopped.
[W] Feb  3 19:01:02 ndm: Network::Interface::OpenVpn: "OpenVPN0": configuration is invalid.
Feb  3 19:01:03 ndm: Core::ConfigurationSaver: configuration saved.

 

Edited by Тма Айгуар
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...