[РЕШЕНО] Клиентский доступ к OpenVPN Access Server

Ответить
mexx400
Сообщения: 660
Зарегистрирован: 13 окт 2013, 16:06
Operating system: Debian
Откуда: Москва

[РЕШЕНО] Клиентский доступ к OpenVPN Access Server

Сообщение mexx400 » 03 авг 2020, 22:12

Здравствуйте. ROSA11/64/Plasma.
Кто-то использует подключение к openvpnas?
Есть там специфика добавления в наш networkmanager его клиентского файла *.ovpn?
Сколько не подключал готовые *.ovpn - никаких проблем, всё работает. А с этим - не работает.
Они сами пишут о некой неопределенности при подключении - https://openvpn.net/vpn-server-resource ... with-linux
Вроде всё из статьи попробовал - не взлетает.
Последний раз редактировалось mexx400 07 авг 2020, 02:49, всего редактировалось 1 раз.
ROSA Fresh 12.3 Plasma [amd64]

mexx400
Сообщения: 660
Зарегистрирован: 13 окт 2013, 16:06
Operating system: Debian
Откуда: Москва

Клиентский доступ к OpenVPN Access Server

Сообщение mexx400 » 05 авг 2020, 02:53

Из консоли всё работает, из nm - нет.
Проблема, насколько я понимаю, в управлении DNS:
One major feature that is missing with the command line client is the ability to automatically implement DNS servers that are pushed by the VPN server. It is possible but it requires you to install a DNS management program such as resolvconf or openresolv, and it may or may not clash with existing network management software in your OS. The idea here however is that you use a script that runs when the connection goes up, and when it goes down, that uses resolvconf or openresolv to implement the DNS servers for you. The reason why this client is not able to manage it completely by itself is mainly because in an operating system like Windows, Macintosh, Android, or iOS, there is already an established single method of handling DNS management. It is therefore easy for us to create a software client for those operating systems that already knows how to handle DNS. But Linux is available in so many variations and also supports different programs and methods of implementing DNS servers, and so it was only reasonable to leave built-in DNS support out of the OpenVPN program and instead to provide, where possible, a script that handles DNS implementation. Such a script could even be written by yourself to do whatever tasks are necessary to implement the DNS servers in your unique situation.
Fortunately on Ubuntu and Debian, for example, there is the /etc/openvpn/update-resolv-conf script that comes with the openvpn package that handles DNS implementation for these operating systems...
Действительно, в Debian из-под nm всё работает.
ROSA Fresh 12.3 Plasma [amd64]

mexx400
Сообщения: 660
Зарегистрирован: 13 окт 2013, 16:06
Operating system: Debian
Откуда: Москва

Клиентский доступ к OpenVPN Access Server

Сообщение mexx400 » 07 авг 2020, 02:49

И заканчивая свой микроблог )
При импорте файла настроек почему-то неверно автоматически заполняется строка шлюз в nm. Причем, именно в Plasma.
То есть в Debian 10 Mate всё заполняется верно и всё сразу работает, а в Debian 10 Plasma - неверно и НЕ работает.
Указал вручную и всё взлетело.
ROSA Fresh 12.3 Plasma [amd64]

Ответить

Вернуться в «Программы РОСА десктоп»