<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>Mikrotik.moscow [тема: Вопрос по скриптам для файрвола

Hey everyone,

I'm struggling with a new issue involving firewall scripting. I'm trying to create a script that will automatically disable a specific port on my server if it detects unusual activity. 

Here's what I've got]</title>
		<link>http://mikrotik.moscow</link>
		<description>Новое в теме Вопрос по скриптам для файрвола

Hey everyone,

I'm struggling with a new issue involving firewall scripting. I'm trying to create a script that will automatically disable a specific port on my server if it detects unusual activity. 

Here's what I've got форума RouterOS на сайте Mikrotik.moscow [mikrotik.moscow]</description>
		<language>ru</language>
		<docs>http://backend.userland.com/rss2</docs>
		<pubDate>Mon, 03 Aug 2026 09:13:10 -0400</pubDate>
		<item>
			<title>Вопрос по скриптам для файрвола

Hey everyone,

I'm struggling with a new issue involving firewall scripting. I'm trying to create a script that will automatically disable a specific port on my server if it detects unusual activity. 

Here's what I've got</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/59307-vopros-po-skriptam-dlya-fayrvola-hey-everyone_-i_m-struggling-with-a-new-issue-involving-firewall-scripting.-i_m-trying-to-create-a-script-that-will-automatically-disable-a-specific-port-on-my-server-if-it-detects-unusual-activity.-here_s-what-i_ve-got-so/message225251">Вопрос по скриптам для файрвола

Hey everyone,

I'm struggling with a new issue involving firewall scripting. I'm trying to create a script that will automatically disable a specific port on my server if it detects unusual activity. 

Here's what I've got</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Полон ошибок, правильный способ: :for e from=1 to=254 do={<br /> &nbsp;/ip firewall mangle add dst-address="192.168.1.$e/32" in-interface=ether1 action=mark-packet \<br /> &nbsp; &nbsp; &nbsp; &nbsp;new-packet-mark="192.168.1.$e_down" comment="auto market" chain=forward disabled=no<br />} <br />
			<i>01.09.2021 18:30:00, rextended.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/59307-vopros-po-skriptam-dlya-fayrvola-hey-everyone_-i_m-struggling-with-a-new-issue-involving-firewall-scripting.-i_m-trying-to-create-a-script-that-will-automatically-disable-a-specific-port-on-my-server-if-it-detects-unusual-activity.-here_s-what-i_ve-got-so/message225251</link>
			<guid>http://mikrotik.moscow/forum/forum57/59307-vopros-po-skriptam-dlya-fayrvola-hey-everyone_-i_m-struggling-with-a-new-issue-involving-firewall-scripting.-i_m-trying-to-create-a-script-that-will-automatically-disable-a-specific-port-on-my-server-if-it-detects-unusual-activity.-here_s-what-i_ve-got-so/message225251</guid>
			<pubDate>Wed, 01 Sep 2021 18:30:00 -0400</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Вопрос по скриптам для файрвола

Hey everyone,

I'm struggling with a new issue involving firewall scripting. I'm trying to create a script that will automatically disable a specific port on my server if it detects unusual activity. 

Here's what I've got</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/59307-vopros-po-skriptam-dlya-fayrvola-hey-everyone_-i_m-struggling-with-a-new-issue-involving-firewall-scripting.-i_m-trying-to-create-a-script-that-will-automatically-disable-a-specific-port-on-my-server-if-it-detects-unusual-activity.-here_s-what-i_ve-got-so/message225250">Вопрос по скриптам для файрвола

Hey everyone,

I'm struggling with a new issue involving firewall scripting. I'm trying to create a script that will automatically disable a specific port on my server if it detects unusual activity. 

Here's what I've got</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Попробуй добавлять пробелы перед `\` в чем-то вроде:<br />```<br />for e from 1 to 254 do={<br /> &nbsp;/ip firewall mangle add \<br /> &nbsp; &nbsp;dst-address=(x.x.x. . $e . "/32") \<br /> &nbsp; &nbsp;in-interface=ether1 action=accept \<br /> &nbsp; &nbsp;mark-flow=(x.x.x. . $e . "Down") \<br /> &nbsp; &nbsp;comment="" disabled=no<br />}<br />```<br />или напиши это на одной строке. <br />
			<i>09.02.2005 18:10:00, _ASM.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/59307-vopros-po-skriptam-dlya-fayrvola-hey-everyone_-i_m-struggling-with-a-new-issue-involving-firewall-scripting.-i_m-trying-to-create-a-script-that-will-automatically-disable-a-specific-port-on-my-server-if-it-detects-unusual-activity.-here_s-what-i_ve-got-so/message225250</link>
			<guid>http://mikrotik.moscow/forum/forum57/59307-vopros-po-skriptam-dlya-fayrvola-hey-everyone_-i_m-struggling-with-a-new-issue-involving-firewall-scripting.-i_m-trying-to-create-a-script-that-will-automatically-disable-a-specific-port-on-my-server-if-it-detects-unusual-activity.-here_s-what-i_ve-got-so/message225250</guid>
			<pubDate>Wed, 09 Feb 2005 18:10:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Вопрос по скриптам для файрвола

Hey everyone,

I'm struggling with a new issue involving firewall scripting. I'm trying to create a script that will automatically disable a specific port on my server if it detects unusual activity. 

Here's what I've got</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/59307-vopros-po-skriptam-dlya-fayrvola-hey-everyone_-i_m-struggling-with-a-new-issue-involving-firewall-scripting.-i_m-trying-to-create-a-script-that-will-automatically-disable-a-specific-port-on-my-server-if-it-detects-unusual-activity.-here_s-what-i_ve-got-so/message225249">Вопрос по скриптам для файрвола

Hey everyone,

I'm struggling with a new issue involving firewall scripting. I'm trying to create a script that will automatically disable a specific port on my server if it detects unusual activity. 

Here's what I've got</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Кажется, всё в порядке. Какие сообщения об ошибках ты видишь? Эдгарс <br />
			<i>09.02.2005 13:17:00, edzix.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/59307-vopros-po-skriptam-dlya-fayrvola-hey-everyone_-i_m-struggling-with-a-new-issue-involving-firewall-scripting.-i_m-trying-to-create-a-script-that-will-automatically-disable-a-specific-port-on-my-server-if-it-detects-unusual-activity.-here_s-what-i_ve-got-so/message225249</link>
			<guid>http://mikrotik.moscow/forum/forum57/59307-vopros-po-skriptam-dlya-fayrvola-hey-everyone_-i_m-struggling-with-a-new-issue-involving-firewall-scripting.-i_m-trying-to-create-a-script-that-will-automatically-disable-a-specific-port-on-my-server-if-it-detects-unusual-activity.-here_s-what-i_ve-got-so/message225249</guid>
			<pubDate>Wed, 09 Feb 2005 13:17:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Вопрос по скриптам для файрвола

Hey everyone,

I'm struggling with a new issue involving firewall scripting. I'm trying to create a script that will automatically disable a specific port on my server if it detects unusual activity. 

Here's what I've got</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/59307-vopros-po-skriptam-dlya-fayrvola-hey-everyone_-i_m-struggling-with-a-new-issue-involving-firewall-scripting.-i_m-trying-to-create-a-script-that-will-automatically-disable-a-specific-port-on-my-server-if-it-detects-unusual-activity.-here_s-what-i_ve-got-so/message225248">Вопрос по скриптам для файрвола

Hey everyone,

I'm struggling with a new issue involving firewall scripting. I'm trying to create a script that will automatically disable a specific port on my server if it detects unusual activity. 

Here's what I've got</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Пытаюсь промаркировать трафик для всех моих клиентов, чтобы потом иметь возможность индивидуально ограничивать их в queue trees. Написал скрипт, который, как думал, должен работать, но не получилось:<br />```<br />for e from 1 to 254 do={<br /> &nbsp;/ip firewall mangle add \<br /> &nbsp; &nbsp;dst-address=(x.x.x. . $e . "/32")\<br /> &nbsp; &nbsp;in-interface=ether1 action=accept\<br /> &nbsp; &nbsp;mark-flow=(x.x.x. . $e . "Down")\<br /> &nbsp; &nbsp;comment="" disabled=no<br />}<br />```<br />Что-то не так с синтаксисом, или я вообще не в теме? <br />
			<i>08.02.2005 20:29:00, jgeiger.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/59307-vopros-po-skriptam-dlya-fayrvola-hey-everyone_-i_m-struggling-with-a-new-issue-involving-firewall-scripting.-i_m-trying-to-create-a-script-that-will-automatically-disable-a-specific-port-on-my-server-if-it-detects-unusual-activity.-here_s-what-i_ve-got-so/message225248</link>
			<guid>http://mikrotik.moscow/forum/forum57/59307-vopros-po-skriptam-dlya-fayrvola-hey-everyone_-i_m-struggling-with-a-new-issue-involving-firewall-scripting.-i_m-trying-to-create-a-script-that-will-automatically-disable-a-specific-port-on-my-server-if-it-detects-unusual-activity.-here_s-what-i_ve-got-so/message225248</guid>
			<pubDate>Tue, 08 Feb 2005 20:29:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
	</channel>
</rss>
