From: vados-dev <192440777+vados-dev@users.noreply.github.com> Date: Thu, 11 Jun 2026 18:20:04 +0000 (+0300) Subject: Autocommit in repo: ros.vados.ru, generated by owner: root, in 21:20:03 11.06.2026. X-Git-Url: https://git.vados.ru/gitweb.cgi?a=commitdiff_plain;h=d4dd28fb3f836b4b5b5e1ea244a1a0f945085476;p=Mikrotiks%2Fros.vados.ru.git Autocommit in repo: ros.vados.ru, generated by owner: root, in 21:20:03 11.06.2026. --- diff --git a/html/AM-GlobalFunc.rsc b/html/AM-GlobalFunc.rsc index 83da45d00..f8d731a75 100644 --- a/html/AM-GlobalFunc.rsc +++ b/html/AM-GlobalFunc.rsc @@ -17,9 +17,9 @@ :global GlobalFuncReady false; # Git commit id & info, expected configuration version -:global CommitId "main/679/bd93dce4"; +:global CommitId "main/680/f2c803f5"; :global CommitTAG "unknown"; -:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 13:30:03 08.06.2026."; +:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 21:20:03 11.06.2026."; # The variables are received right here. :global GlobalConfVersion 140; diff --git a/html/wg0.conf b/html/wg0.conf new file mode 100644 index 000000000..3e5e14127 --- /dev/null +++ b/html/wg0.conf @@ -0,0 +1,14 @@ +[Interface] +Address = 10.8.0.1/24 +SaveConfig = true +PreUp = +PostUp = iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE; iptables -A INPUT -p udp -m udp --dport 29185 -j ACCEPT; iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; +PreDown = +PostDown = iptables -t nat -D POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE; iptables -D INPUT -p udp -m udp --dport 29185 -j ACCEPT; iptables -D FORWARD -i wg0 -j ACCEPT; iptables -D FORWARD -o wg0 -j ACCEPT; +ListenPort = 29185 +PrivateKey = iO13EcCj2502NesBVG0uow90Aw5ORYcnsn/7UMryeUU= + +[Peer] +PublicKey = HTofQ0KtUsZij7zFn0F72r8oatxGn/el6bzLhM9El1g= +PresharedKey = ngbjGRcY2A25xqy89qaqZ2JBhdDpnJVttcMwnErdjnY= +AllowedIPs = 10.8.0.2/32