<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>Mikrotik.moscow [тема: Скрипт обновления IP-адреса клиента HE ipv6 туннеля]</title>
		<link>http://mikrotik.moscow</link>
		<description>Новое в теме Скрипт обновления IP-адреса клиента HE ipv6 туннеля форума RouterOS на сайте Mikrotik.moscow [mikrotik.moscow]</description>
		<language>ru</language>
		<docs>http://backend.userland.com/rss2</docs>
		<pubDate>Sun, 02 Aug 2026 12:36:27 -0400</pubDate>
		<item>
			<title>Скрипт обновления IP-адреса клиента HE ipv6 туннеля</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428020">Скрипт обновления IP-адреса клиента HE ipv6 туннеля</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Спасибо, но я просто исправил ошибки, идея принадлежит @accarda. <br />
			<i>01.01.2023 11:32:00, rextended.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428020</link>
			<guid>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428020</guid>
			<pubDate>Sun, 01 Jan 2023 11:32:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Скрипт обновления IP-адреса клиента HE ipv6 туннеля</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428019">Скрипт обновления IP-адреса клиента HE ipv6 туннеля</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Спасибо за вашу идею. <br />
			<i>01.01.2023 03:28:00, hendranata.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428019</link>
			<guid>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428019</guid>
			<pubDate>Sun, 01 Jan 2023 03:28:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Скрипт обновления IP-адреса клиента HE ipv6 туннеля</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428018">Скрипт обновления IP-адреса клиента HE ipv6 туннеля</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Спасибо тебе. <br />
			<i>28.12.2022 20:32:00, rextended.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428018</link>
			<guid>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428018</guid>
			<pubDate>Wed, 28 Dec 2022 20:32:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Скрипт обновления IP-адреса клиента HE ipv6 туннеля</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428017">Скрипт обновления IP-адреса клиента HE ipv6 туннеля</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Хорошо, я прислушаюсь к твоему совету и использую :local currentWANIP $WANIP вместо установки 0.0.0.0, это логичнее. <br />
			<i>28.12.2022 15:53:00, accarda.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428017</link>
			<guid>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428017</guid>
			<pubDate>Wed, 28 Dec 2022 15:53:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Скрипт обновления IP-адреса клиента HE ipv6 туннеля</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428016">Скрипт обновления IP-адреса клиента HE ipv6 туннеля</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Убери все ошибки, а не ошибочки, в синтаксисе… &nbsp;<br />:global WANIP &nbsp;<br />:local cloudStatus [/ip cloud get status]  <br />:local currentWANIP $WANIP &nbsp;<br /><br />:if ($cloudStatus = "updated") do={ :set currentWANIP [/ip cloud get public-address] }  <br /><br />:if ($currentWANIP != $WANIP) do={ &nbsp;<br /> &nbsp; &nbsp;/tool fetch src-address=&lt;WAN IP&gt; keep-result=no \ &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;url="https://&lt;your account data&gt;@ipv4.tunnelbroker.net/nic/update\3Fhostname=&lt;tunnel ID&gt;" &nbsp;<br /> &nbsp; &nbsp;:set WANIP $currentWANIP &nbsp;<br /> &nbsp; &nbsp;:log info "Обновлён EndPoint TunnelBroker — $currentWANIP" &nbsp;<br />} <br />
			<i>28.12.2022 12:10:00, rextended.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428016</link>
			<guid>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428016</guid>
			<pubDate>Wed, 28 Dec 2022 12:10:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Скрипт обновления IP-адреса клиента HE ipv6 туннеля</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428015">Скрипт обновления IP-адреса клиента HE ipv6 туннеля</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			После недавнего сбоя в /ip/cloud я решил добавить ещё одну проверку перед отправкой обновления на сервер HE, так что вот последний код, который я использую:<br /><br />:global WANIP &nbsp;<br />:local cloudStatus [/ip/cloud/get status]  <br />:local currentWANIP &nbsp;<br /><br />:if ($cloudStatus = "updated") do={ &nbsp;<br /> &nbsp; &nbsp;:set $currentWANIP [/ip/cloud/get public-address]  <br />} else={ &nbsp;<br /> &nbsp; &nbsp;:set $currentWANIP 0.0.0.0 &nbsp;<br />} &nbsp;<br /><br />:if ($currentWANIP != 0.0.0.0 and $currentWANIP != $WANIP) do={ &nbsp;<br /> &nbsp; &nbsp;/tool/fetch url="https://&lt;your account data&gt;@ipv4.tunnelbroker.net/nic/update\?hostname=&lt;tunnel ID&gt;" src-address=&lt;WAN IP&gt; keep-result=no &nbsp;<br /> &nbsp; &nbsp;:set $WANIP $currentWANIP &nbsp;<br /> &nbsp; &nbsp;:log info "Обновлён TunnelBroker EndPoint - $currentWANIP" &nbsp;<br />} <br />
			<i>28.12.2022 04:31:00, accarda.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428015</link>
			<guid>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428015</guid>
			<pubDate>Wed, 28 Dec 2022 04:31:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Скрипт обновления IP-адреса клиента HE ipv6 туннеля</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428014">Скрипт обновления IP-адреса клиента HE ipv6 туннеля</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Ты прав, кроме присваивания никаких операций нет. Принял к сведению, спасибо. <br />
			<i>16.12.2022 19:19:00, accarda.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428014</link>
			<guid>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428014</guid>
			<pubDate>Fri, 16 Dec 2022 19:19:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Скрипт обновления IP-адреса клиента HE ipv6 туннеля</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428013">Скрипт обновления IP-адреса клиента HE ipv6 туннеля</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			:set $WANIP ($currentWANIP) =&gt; :set WANIP $currentWANIP <br />
			<i>16.12.2022 15:20:00, rextended.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428013</link>
			<guid>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428013</guid>
			<pubDate>Fri, 16 Dec 2022 15:20:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Скрипт обновления IP-адреса клиента HE ipv6 туннеля</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428012">Скрипт обновления IP-адреса клиента HE ipv6 туннеля</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Я использую нечто вроде этого, чтобы менять HE только тогда, когда меняется публичный IP:<br /><br />:global WANIP &nbsp;<br />:local currentWANIP [/ip/cloud/get public-address]  <br /><br />:if ($currentWANIP != $WANIP) do={ &nbsp;<br /> /tool/fetch url="как указано на странице с информацией HE" src-address=&lt;private IP wan&gt; keep-result=no &nbsp;<br /> :set $WANIP ($currentWANIP) &nbsp;<br />} <br />
			<i>15.12.2022 16:59:00, accarda.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428012</link>
			<guid>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428012</guid>
			<pubDate>Thu, 15 Dec 2022 16:59:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Скрипт обновления IP-адреса клиента HE ipv6 туннеля</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428011">Скрипт обновления IP-адреса клиента HE ipv6 туннеля</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			У кого-нибудь есть скрипт для tunnelbroker на случай, если на нашем WAN-интерфейсе будет только приватный IP? Идея в том, чтобы сравнивать публичный IP, который показывает облако, с IP, уже установленным в tunnelbroker. Если у вас есть такой скрипт — поделитесь, пожалуйста. Спасибо! <br />
			<i>14.12.2022 10:05:00, hendranata.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428011</link>
			<guid>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428011</guid>
			<pubDate>Wed, 14 Dec 2022 10:05:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Скрипт обновления IP-адреса клиента HE ipv6 туннеля</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428010">Скрипт обновления IP-адреса клиента HE ipv6 туннеля</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Есть причина, почему у тебя локальный адрес 6to4 задан как WAN IP? У меня локальный адрес 6to4 стоит на локальном IP роутера. Если я поставлю 6to4 локальный адрес равным WAN IP, то трафик не проходит, даже если разрешить входящий proto41. П.С.: Решил эту проблему — надо было добавить dst-nat выше моего masquerade. Но теперь, когда запускаю твой скрипт, он обновляет локальный адрес моего туннеля, но не обновляет IP клиента HE. В логах причины не показывает. Если собрать адрес из скрипта и вставить в браузер, появляется обычное окно с запросом логина и пароля, а не обновление IP. Если ввести в качестве пароля update key, то обновление пройдет успешно. <noindex><a href="https://ipv4.tunnelbroker.net/nic/update?username=&amp;password=&amp;hostname=&amp;myip=&lt;newip&amp;gt" target="_blank" rel="nofollow" >https://ipv4.tunnelbroker.net/nic/update?username=&amp;password=&amp;hostname=&amp;myip=&lt;newip&amp;gt</a></noindex>; В браузере у меня работает только такой формат: <noindex><a href="https://:@ipv4.tunnelbroker.net/nic/update?hostname=&amp;myip=&lt;newip&amp;gt" target="_blank" rel="nofollow" >https://:@ipv4.tunnelbroker.net/nic/update?hostname=&amp;myip=&lt;newip&amp;gt</a></noindex>; <br />
			<i>04.03.2017 17:08:00, LadFromWales.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428010</link>
			<guid>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428010</guid>
			<pubDate>Sat, 04 Mar 2017 17:08:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Скрипт обновления IP-адреса клиента HE ipv6 туннеля</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428009">Скрипт обновления IP-адреса клиента HE ipv6 туннеля</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Есть причина, по которой ты вызываешь обновление Hurricane Electric, даже если локальный IPv4 адрес не менялся? Кстати, fetch теперь поддерживает https. Вот что я использую:<br /><br /># Обновление IPv4 адреса клиента туннеля Hurricane Electric IPv6<br /><br />#--------------- Начало пользовательских переменных ------------------<br /><br /># 6to4 Tunnel интерфейс этого роутера &nbsp;<br />:local HEtunnelinterface "Твой локальный интерфейс туннеля, например sit1"<br /><br /># ID туннеля Hurricane Electric &nbsp;<br />:local HEtunnelid "Твой Tunnel ID, например 123456"<br /><br /># Имя пользователя Hurricane Electric &nbsp;<br />:local HEuserid "Твой логин Hurricane Electric"<br /><br /># Ключ обновления Hurricane Electric в открытом виде &nbsp;<br />:local HEpass "Твой Update Key (берется в Advanced -&gt; Update Key)"<br /><br /># WAN интерфейс этого роутера &nbsp;<br />:local WANinterface "Твой WAN интерфейс"<br /><br />#--------------- Конец пользовательских переменных ----------------------<br /><br />:local HEupdatehost "ipv4.tunnelbroker.net" &nbsp;<br />:local HEupdatepath "/nic/update"<br /><br />:local outputfile ("HE-" . $HEtunnelid . ".txt")<br /><br /># Внутренние процессы ниже... &nbsp;<br /># ---------------------------------- &nbsp;<br />:local HEipv4addr<br /><br /># Получаем IP адрес WAN интерфейса &nbsp;<br />:set HEipv4addr [/ip address get [/ip address find interface=$WANinterface] address]  <br />:set HEipv4addr [:pick [:tostr $HEipv4addr] 0 [:find [:tostr $HEipv4addr] "/"]]<br /><br />:if ([:len $HEipv4addr] = 0) do={  <br /> &nbsp; :log error ("Не удалось получить IP для интерфейса " . $WANinterface) &nbsp;<br /> &nbsp; :error ("Не удалось получить IP для интерфейса " . $WANinterface) &nbsp;<br />}<br /><br /># Обновляем local-address HEtunnelinterface в соответствии с WAN IP &nbsp;<br />/interface 6to4 { &nbsp;<br /> &nbsp; :if ([get ($HEtunnelinterface) local-address] != $HEipv4addr) do={  <br /> &nbsp; &nbsp; &nbsp;:log info ("Обновляем local-address " . $HEtunnelinterface . " на новый IP " . $HEipv4addr . "...") &nbsp;<br /> &nbsp; &nbsp; &nbsp;set ($HEtunnelinterface) local-address=$HEipv4addr &nbsp;<br /> &nbsp; &nbsp; &nbsp;:log info ("Обновляем IPv6 туннель " . $HEtunnelid . " — клиентский IPv4 адрес на новый IP " . $HEipv4addr . "...") &nbsp;<br /> &nbsp; &nbsp; &nbsp;/tool fetch mode=https \ &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;host=($HEupdatehost) \ &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;url=("https://" . $HEupdatehost . $HEupdatepath . \ &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"?username=" . $HEuserid . \ &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"&password=" . $HEpass . \ &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"&hostname=" . $HEtunnelid . \ &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"&myip=" . $HEipv4addr) \ &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;dst-path=($outputfile) &nbsp;<br /> &nbsp; &nbsp; &nbsp;:log info ([/file get ($outputfile) contents])  <br /> &nbsp; &nbsp; &nbsp;/file remove ($outputfile) &nbsp;<br /> &nbsp; } else={ &nbsp;<br /> &nbsp; &nbsp; &nbsp;:log info ("Обновление не требуется, " . $HEtunnelinterface . " всё ещё работает с IPv4 адресом " . $HEipv4addr . ".") &nbsp;<br /> &nbsp; } &nbsp;<br />} <br />
			<i>02.03.2017 06:45:00, rxmd.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428009</link>
			<guid>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428009</guid>
			<pubDate>Thu, 02 Mar 2017 06:45:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Скрипт обновления IP-адреса клиента HE ipv6 туннеля</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428008">Скрипт обновления IP-адреса клиента HE ipv6 туннеля</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Скрипт Wiki Mikrotik с полностью рабочим кодом, но требуется вставить Update Key (Advanced &gt; Update Key):<br /><br />:local HEupdatekey “” # Обновление IPv4-адреса клиента туннеля Hurricane Electric IPv6 &nbsp;<br />:local HEtunnelinterface “&lt;имя туннельного интерфейса этого роутера&gt;” &nbsp;<br />:local HEtunnelid “” &nbsp;<br />:local HEuserid “” &nbsp;<br />:local HEupdatekey “” &nbsp;<br />:local HEupdatehost “ipv4.tunnelbroker.net” &nbsp;<br />:local HEupdatepath “/ipv4_end.php” &nbsp;<br />:local WANinterface “WAN” &nbsp;<br />:local outputfile (“HE-” . $HEtunnelid . “.txt”)<br /><br />Внутренняя обработка ниже… &nbsp;<br />----------------------------------<br /><br />:local HEipv4addr &nbsp;Получаем IP-адрес интерфейса WAN &nbsp;<br />:set HEipv4addr [/ip address get [/ip address find interface=$WANinterface] address]  <br />:set HEipv4addr [:pick [:tostr $HEipv4addr] 0 [:find [:tostr $HEipv4addr] “/”]]  <br />:if ([:len $HEipv4addr] = 0) do={  <br /> &nbsp;:log error ("Не удалось получить IP для интерфейса " . $WANinterface) &nbsp;<br /> &nbsp;:error ("Не удалось получить IP для интерфейса " . $WANinterface) &nbsp;<br />} &nbsp;<br /><br />Обновляем HEtunnelinterface c IP WAN &nbsp;<br />/interface 6to4 { &nbsp;<br /> &nbsp;:if ([get ($HEtunnelinterface) local-address] != $HEipv4addr) do={  <br /> &nbsp; &nbsp;:log info ("Обновляем локальный адрес " . $HEtunnelinterface . " новым IP " . $HEipv4addr . "…") &nbsp;<br /> &nbsp; &nbsp;set ($HEtunnelinterface) local-address=$HEipv4addr &nbsp;<br /> &nbsp;} &nbsp;<br />}<br /><br />:log info ("Обновляем IPv6-туннель " . $HEtunnelid . " - IP клиента на новый IP " . $HEipv4addr . "…") &nbsp;<br />/tool fetch mode=http host=($HEupdatehost) url=(“http://” . $HEupdatehost . $HEupdatepath . “?ipv4b=” . $HEipv4addr . “&pass=” . $HEupdatekey . “&user_id=” . $HEuserid . “&tunnel_id=” . $HEtunnelid) dst-path=($outputfile) &nbsp;<br />:log info ([/file get ($outputfile) contents])  <br />/file remove ($outputfile) <br />
			<i>05.06.2014 20:16:00, Exios.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428008</link>
			<guid>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428008</guid>
			<pubDate>Thu, 05 Jun 2014 20:16:00 -0400</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Скрипт обновления IP-адреса клиента HE ipv6 туннеля</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428007">Скрипт обновления IP-адреса клиента HE ipv6 туннеля</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			У меня уже давно есть несколько IPv6-туннелей от Hurricane Electric. На своих роутерах у меня есть скрипты, которые обновляют записи на стороне Hurricane Electric, когда у меня динамически меняется IP-адрес. Но недавно я заметил, что на моём RB 751 этот скрипт перестал работать. Я уже перелопатил кучу информации в гугле и перепробовал все скрипты, которые только удалось найти, но ничего не работает. Скрипты запускаются, пишут логи, но цифры на стороне Hurricane Electric не меняются. У меня версия Router OS 6.12. Если у кого-то есть рабочий скрипт, буду очень признателен, если поделитесь. Кажется, я тут не один такой, кто мучается с этим. Большое спасибо! <br />
			<i>27.04.2014 21:28:00, takoateli.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428007</link>
			<guid>http://mikrotik.moscow/forum/forum57/88551-skript-obnovleniya-ip_adresa-klienta-he-ipv6-tunnelya/message428007</guid>
			<pubDate>Sun, 27 Apr 2014 21:28:00 -0400</pubDate>
			<category>RouterOS</category>
		</item>
	</channel>
</rss>
