fix crash wireguard after restart
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
06.06.2023 фикс зависания wireguard после ребута
|
||||
<code>git pull</code>
|
||||
в файле <pre>config/wg0.conf</pre> удалите строчку с DNS, если она там есть
|
||||
перезапустите <code>make r</code>
|
||||
05.06.2023 пофиксил "автозагрузку":
|
||||
<code>service vpnbot stop</code>
|
||||
<code>git pull</code>
|
||||
|
||||
Reference in New Issue
Block a user