]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
Autocommit in repo: ros.vados.ru, generated by owner: root, in 21:20:03 11.06.2026.
authorvados-dev <192440777+vados-dev@users.noreply.github.com>
Thu, 11 Jun 2026 18:20:04 +0000 (21:20 +0300)
committervados-dev <192440777+vados-dev@users.noreply.github.com>
Thu, 11 Jun 2026 18:20:04 +0000 (21:20 +0300)
html/AM-GlobalFunc.rsc
html/wg0.conf [new file with mode: 0644]

index 83da45d006cc119eae49832b5f210427c14a806b..f8d731a75c58c319cadcc594c66e9d4d60ea5275 100644 (file)
@@ -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 (file)
index 0000000..3e5e141
--- /dev/null
@@ -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