diff --git a/app/bot.php b/app/bot.php index ad95bba..1c85b6a 100644 --- a/app/bot.php +++ b/app/bot.php @@ -2688,7 +2688,7 @@ DNS-over-HTTPS with IP: public function createConfig($data) { $conf[] = "[Interface]"; - if (empty($data['interface']['DNS'])) { + if (empty($data['interface']['ListenPort']) && empty($data['interface']['DNS'])) { $data['interface']['DNS'] = $this->getPacConf()['dns'] ?: $this->dns; } foreach ($data['interface'] as $k => $v) { diff --git a/version b/version index 0b45fc1..531721d 100644 --- a/version +++ b/version @@ -1,3 +1,7 @@ +06.06.2023 фикс зависания wireguard после ребута +git pull +в файле
config/wg0.conf
удалите строчку с DNS, если она там есть +перезапустите make r 05.06.2023 пофиксил "автозагрузку": service vpnbot stop git pull