<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>firewall &#8211; Uroš Vovk</title>
	<atom:link href="https://www.urosvovk.com/tag/firewall/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.urosvovk.com</link>
	<description>Uroš Vovk home page</description>
	<lastBuildDate>Mon, 18 Dec 2017 10:58:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>Programatically change ports on Mikrotik RouterOS</title>
		<link>https://www.urosvovk.com/programatically-change-port-on-mikrotik-routeros/</link>
					<comments>https://www.urosvovk.com/programatically-change-port-on-mikrotik-routeros/#comments</comments>
		
		<dc:creator><![CDATA[Uroš]]></dc:creator>
		<pubDate>Thu, 05 Oct 2017 12:00:16 +0000</pubDate>
				<category><![CDATA[Network Stuff]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[mikrotik]]></category>
		<category><![CDATA[nat]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[RouterOS]]></category>
		<category><![CDATA[script]]></category>
		<guid isPermaLink="false">http://www.urosvovk.com/?p=815</guid>

					<description><![CDATA[I created a simple script, that can help you change ports on your Mikrotik router How to use in my script fill array with port aliases: :global PFVports {http="80";ssh="22";https="443";ftp=23}; add a comment to your NAT rule, that starts with &#8220;PFV_&#8221; and folows with port alias like that: Now run my script and it will automatically &#8230; <a href="https://www.urosvovk.com/programatically-change-port-on-mikrotik-routeros/" class="more-link">Continue reading <span class="screen-reader-text">Programatically change ports on Mikrotik RouterOS</span></a>]]></description>
										<content:encoded><![CDATA[<p>I created a simple script, that can help you change ports on your Mikrotik router</p>
<script src="//pastebin.com/embed_js/1ikQgUky"></script>
<h3>How to use</h3>
<p>in my script fill array with port aliases:</p>
<pre>:global PFVports {http="80";ssh="22";https="443";ftp=23};</pre>
<p>add a comment to your NAT rule, that starts with &#8220;<strong>PFV_</strong>&#8221; and folows with port alias like that:</p>
<p><img fetchpriority="high" decoding="async" class="aligncenter wp-image-825 size-full" src="http://www.urosvovk.com/wp-content/uploads/2017/10/asdasdfad8qw65e-e1507196876109.png" alt="" width="860" height="90" srcset="https://www.urosvovk.com/wp-content/uploads/2017/10/asdasdfad8qw65e-e1507196876109.png 860w, https://www.urosvovk.com/wp-content/uploads/2017/10/asdasdfad8qw65e-e1507196876109-300x31.png 300w, https://www.urosvovk.com/wp-content/uploads/2017/10/asdasdfad8qw65e-e1507196876109-768x80.png 768w" sizes="(max-width: 860px) 100vw, 860px" /></p>
<p>Now run my script and it will automatically set dst-port to whatever you set (in script) http port value&#8230; in my example port 80.</p>
<p>Next time you need to change some ports, you don&#8217;t need to change one by one, just update PFVports array and re-run this script.</p>
<h4>Note:</h4>
<p>dst-port is just one of many things that can be changed with this script&#8230; it can be easily changed to do whatever you need.</p>
<p>Hope you like it :)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.urosvovk.com/programatically-change-port-on-mikrotik-routeros/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
