<?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>UI 網站 &#187; ros</title>
	<atom:link href="http://ui.idv.tw/wordpress/?cat=75&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>https://ui.idv.tw/wordpress</link>
	<description>個人雜亂筆記用</description>
	<lastBuildDate>Wed, 15 Oct 2025 10:08:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>mikrotik 調整 mtu</title>
		<link>https://ui.idv.tw/wordpress/?p=1650</link>
		<comments>https://ui.idv.tw/wordpress/?p=1650#comments</comments>
		<pubDate>Mon, 23 Jun 2025 06:11:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[ros]]></category>
		<category><![CDATA[MTU]]></category>

		<guid isPermaLink="false">https://ui.idv.tw/wordpress/?p=1650</guid>
		<description><![CDATA[我的PPPoE MTU ：1500，PPPoE actual MTU:1496(我看錯以為是1492），我把MTU改成1492，以及firewall mangle 中設定MSS Clamping 經過一整天都沒有斷線重連的情況發生 /ip/firewall/mangle add action=change-mss chain=forward comment="IPv4 MSS clamp to PMTU" new-mss=clamp-to-pmtu out-interface="China Telecom" passthrough=yes protocol=tcp tcp-flags=syn 或者去 /interface pppoe-dymic General Max MTU 及 Max MRU 調為 1492 PS: MTU 測試 ping -f &#8230; <a href="https://ui.idv.tw/wordpress/?p=1650">繼續閱讀 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>我的PPPoE MTU ：1500，PPPoE actual MTU:1496(我看錯以為是1492），我把MTU改成1492，以及firewall mangle 中設定MSS Clamping<br />
經過一整天都沒有斷線重連的情況發生<br />
/ip/firewall/mangle<br />
add action=change-mss chain=forward comment="IPv4 MSS clamp to PMTU" new-mss=clamp-to-pmtu out-interface="China Telecom" passthrough=yes protocol=tcp tcp-flags=syn</p>
<p>或者去 /interface pppoe-dymic  General  Max MTU 及 Max MRU 調為 1492</p>
<p>PS:  MTU 測試  ping -f -l 1450 www.google.com</p>
]]></content:encoded>
			<wfw:commentRss>https://ui.idv.tw/wordpress/?feed=rss2&#038;p=1650</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>routeos macping 錯亂</title>
		<link>https://ui.idv.tw/wordpress/?p=1636</link>
		<comments>https://ui.idv.tw/wordpress/?p=1636#comments</comments>
		<pubDate>Sat, 24 May 2025 01:27:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ros]]></category>

		<guid isPermaLink="false">https://ui.idv.tw/wordpress/?p=1636</guid>
		<description><![CDATA[/interface ethernet reset-mac-address ether1 #關閉 neighbor /ip netighbor]]></description>
			<content:encoded><![CDATA[<p>/interface ethernet reset-mac-address ether1</p>
<p>#關閉 neighbor<br />
/ip netighbor </p>
]]></content:encoded>
			<wfw:commentRss>https://ui.idv.tw/wordpress/?feed=rss2&#038;p=1636</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mikrotik IP Tunnel</title>
		<link>https://ui.idv.tw/wordpress/?p=1576</link>
		<comments>https://ui.idv.tw/wordpress/?p=1576#comments</comments>
		<pubDate>Mon, 03 Feb 2025 07:24:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ros]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">https://ui.idv.tw/wordpress/?p=1576</guid>
		<description><![CDATA[來源 https://www.youtube.com/watch?v=clQKWo-4CSw&#038;list=PLh8zT6JM0BYE1l-M1DorJKd2BvT2X6v3A&#038;index=95]]></description>
			<content:encoded><![CDATA[<p>來源</p>
<p>https://www.youtube.com/watch?v=clQKWo-4CSw&#038;list=PLh8zT6JM0BYE1l-M1DorJKd2BvT2X6v3A&#038;index=95</p>
]]></content:encoded>
			<wfw:commentRss>https://ui.idv.tw/wordpress/?feed=rss2&#038;p=1576</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4G/LTE 網路虛擬IP轉實體IP-RouterOS</title>
		<link>https://ui.idv.tw/wordpress/?p=1559</link>
		<comments>https://ui.idv.tw/wordpress/?p=1559#comments</comments>
		<pubDate>Thu, 16 Jan 2025 05:45:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ros]]></category>

		<guid isPermaLink="false">https://ui.idv.tw/wordpress/?p=1559</guid>
		<description><![CDATA[參考 #https://ethernet-diy.blogspot.com/2017/05/mikrotik4glteipip-routeros.html 借用 VPN WAN :Hinet 固IP LAN: 192.168.88.0/24 VPN : PPTP host to site VPN Port forward: Wan_IP:8800 -> 192.168.88.101:80 ( wan:8800 &#8211;> lan 192.168.88.101) Server 192.168.1.99/24 G:192.168.1.1 vpn ip: 192.168.88.101/32 web server: TCP 80 SERVER Firewall allow 80 &#8230; <a href="https://ui.idv.tw/wordpress/?p=1559">繼續閱讀 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>參考<br />
#https://ethernet-diy.blogspot.com/2017/05/mikrotik4glteipip-routeros.html</p>
<p>借用 VPN<br />
WAN :Hinet 固IP<br />
LAN: 192.168.88.0/24<br />
VPN : PPTP host to site VPN<br />
Port forward: Wan_IP:8800 -> 192.168.88.101:80 ( wan:8800  &#8211;> lan 192.168.88.101)</p>
<p>Server<br />
192.168.1.99/24 G:192.168.1.1<br />
vpn ip: 192.168.88.101/32<br />
web server: TCP 80<br />
SERVER  Firewall allow 80</p>
<p>#先設定 pppoe server<br />
[ppp]-pptp server- enable 打勾</p>
<p>[ppp]<br />
Profiles<br />
 Name:pptp-1<br />
 Local Address:192.168.88.1<br />
 Remote Address:192.168.88.101</p>
<p> [ppp]<br />
 Secrets<br />
 Name:test<br />
 password:test<br />
 service:pptp<br />
 Profile: pptp-1 (上面的pptp-1)</p>
<p># Firewall Allow<br />
INPUT<br />
Chain: Input<br />
Protocol: Tcp<br />
Dst Port 21,22,23,80,443,1723,8291<br />
Action: accept</p>
<p>Forward<br />
Chain: Forward<br />
Protocol: Tcp<br />
Dst Port : 88,8800<br />
<strong>In Interface: ppoe-out1</strong> (注意)<br />
Action: accept</p>
<p>NAT<br />
Chain: dsnat<br />
Protocol: TCP<br />
Dst port:8800<br />
In interface: pppoe-out1<br />
Action: Dst-nat<br />
to Address:192.168.88.101<br />
To Port:80</p>
]]></content:encoded>
			<wfw:commentRss>https://ui.idv.tw/wordpress/?feed=rss2&#038;p=1559</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mikrotik Hairpin NAT</title>
		<link>https://ui.idv.tw/wordpress/?p=1556</link>
		<comments>https://ui.idv.tw/wordpress/?p=1556#comments</comments>
		<pubDate>Thu, 16 Jan 2025 05:34:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ros]]></category>

		<guid isPermaLink="false">https://ui.idv.tw/wordpress/?p=1556</guid>
		<description><![CDATA[#https://help.mikrotik.com/docs/display/ROS/NAT#NAT-HairpinNAT /ip firewall nat add action=masquerade chain=srcnat comment="Hairpin NAT" \ out-interface=bridge src-address=192.168.1.0/24]]></description>
			<content:encoded><![CDATA[<p>#https://help.mikrotik.com/docs/display/ROS/NAT#NAT-HairpinNAT</p>
<p>/ip firewall nat<br />
add action=masquerade chain=<strong>srcnat</strong> comment="Hairpin NAT" \<br />
out-interface=<strong>bridge</strong> src-address=192.168.1.0/24</p>
]]></content:encoded>
			<wfw:commentRss>https://ui.idv.tw/wordpress/?feed=rss2&#038;p=1556</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mikrotik wireguard export</title>
		<link>https://ui.idv.tw/wordpress/?p=1522</link>
		<comments>https://ui.idv.tw/wordpress/?p=1522#comments</comments>
		<pubDate>Thu, 29 Aug 2024 15:09:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ros]]></category>
		<category><![CDATA[wireguard]]></category>

		<guid isPermaLink="false">https://ui.idv.tw/wordpress/?p=1522</guid>
		<description><![CDATA[https://forum.mikrotik.com/viewtopic.php?t=181503 導出WireGuard接口配置,會把所有interface export /interface export show-sensitive file=wg-config 導出WireGuard對等體配置 /interface/wireguard/ export show-sensitive file=wg1.rsc 匯入配置文件： /import file-name=wg-config.rsc /import file-name=wg-peers-config.rsc shell 底下 /interface/wireguard/ export show-sensitive file=wg1.rsc export show-sensitive 或 /interface/wireguard print]]></description>
			<content:encoded><![CDATA[<p>https://forum.mikrotik.com/viewtopic.php?t=181503</p>
<p>導出WireGuard接口配置,會把所有interface export<br />
/interface export show-sensitive file=wg-config</p>
<p>導出WireGuard對等體配置<br />
/interface/wireguard/ export show-sensitive file=wg1.rsc</p>
<p>匯入配置文件：<br />
/import file-name=wg-config.rsc<br />
/import file-name=wg-peers-config.rsc</p>
<p>shell 底下<br />
/interface/wireguard/ export show-sensitive file=wg1.rsc<br />
 export show-sensitive<br />
 或<br />
 /interface/wireguard print</p>
]]></content:encoded>
			<wfw:commentRss>https://ui.idv.tw/wordpress/?feed=rss2&#038;p=1522</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ros 封包進入順序</title>
		<link>https://ui.idv.tw/wordpress/?p=1500</link>
		<comments>https://ui.idv.tw/wordpress/?p=1500#comments</comments>
		<pubDate>Mon, 24 Jun 2024 00:57:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ros]]></category>
		<category><![CDATA[raw]]></category>

		<guid isPermaLink="false">http://ui.idv.tw/wordpress/?p=1500</guid>
		<description><![CDATA[封包進入firewall有優先順序，分別是raw->mangle->nat->filter 如果在raw就進行封鎖，後面的流程就不會跑。 也就是在raw進行封鎖是最省系統資源；在filter則是最吃資源。 因為在filter，即便是丟棄封包，封包也得raw->mangle->nat->filter跑完一輪才行。]]></description>
			<content:encoded><![CDATA[<p>封包進入firewall有優先順序，分別是raw->mangle->nat->filter<br />
如果在raw就進行封鎖，後面的流程就不會跑。</p>
<p>也就是在raw進行封鎖是最省系統資源；在filter則是最吃資源。<br />
因為在filter，即便是丟棄封包，封包也得raw->mangle->nat->filter跑完一輪才行。</p>
]]></content:encoded>
			<wfw:commentRss>https://ui.idv.tw/wordpress/?feed=rss2&#038;p=1500</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mikrotik  email log</title>
		<link>https://ui.idv.tw/wordpress/?p=1458</link>
		<comments>https://ui.idv.tw/wordpress/?p=1458#comments</comments>
		<pubDate>Wed, 22 May 2024 07:25:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[ros]]></category>
		<category><![CDATA[log]]></category>

		<guid isPermaLink="false">http://ui.idv.tw/wordpress/?p=1458</guid>
		<description><![CDATA[shell Email Logs /log print file=logs delay 10 /tool e-mail send to="改你的email" subject="$[/system identity get name] logs" \ body="$[/system clock get date] log file" file=logs.txt synology &#8211; 日誌中心 &#8211; 日誌接收 &#8211; 建立下面規則 日誌格式: BSD 格式 傳輸協定: UDP 連接埠: 514 ros &#8230; <a href="https://ui.idv.tw/wordpress/?p=1458">繼續閱讀 <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>shell<br />
Email Logs<br />
/log print file=logs<br />
delay 10<br />
/tool e-mail send to="改你的email" subject="$[/system identity get name]  logs" \<br />
body="$[/system clock get date] log file" file=logs.txt</p>
<p>synology &#8211; 日誌中心 &#8211; 日誌接收 &#8211; 建立下面規則<br />
日誌格式: BSD 格式<br />
傳輸協定: UDP<br />
連接埠: 514<br />
ros &#8211; 先在 remote 打上  log_Server ip位置 , bsd_log 打勾<br />
ros &#8211; system-loging-Rules 新增剛剛的 info, erro, warning, critical remote</p>
]]></content:encoded>
			<wfw:commentRss>https://ui.idv.tw/wordpress/?feed=rss2&#038;p=1458</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mikrotik 路徑圖</title>
		<link>https://ui.idv.tw/wordpress/?p=1412</link>
		<comments>https://ui.idv.tw/wordpress/?p=1412#comments</comments>
		<pubDate>Fri, 08 Mar 2024 00:52:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ros]]></category>

		<guid isPermaLink="false">http://ui.idv.tw/wordpress/?p=1412</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://ui.idv.tw/wordpress/wp-content/uploads/2024/03/mikrotik_fastpath1.jpg"><img src="http://ui.idv.tw/wordpress/wp-content/uploads/2024/03/mikrotik_fastpath1.jpg" alt="" title="mikrotik_fastpath" width="745" height="414" class="alignnone size-full wp-image-1415" /></a></p>
]]></content:encoded>
			<wfw:commentRss>https://ui.idv.tw/wordpress/?feed=rss2&#038;p=1412</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mikrotik .rsc 匯入注意</title>
		<link>https://ui.idv.tw/wordpress/?p=1392</link>
		<comments>https://ui.idv.tw/wordpress/?p=1392#comments</comments>
		<pubDate>Sun, 18 Feb 2024 06:13:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[ros]]></category>

		<guid isPermaLink="false">http://ui.idv.tw/wordpress/?p=1392</guid>
		<description><![CDATA[Mikrotik 匯入 換行格式 須為 windows , unix CLRF 格式不行 內容範例 /ip firewall address-list add address=103.137.150.244 list=Badip_List # 連續時相同會出現錯誤訊息 再改為 do {/ip firewall address-list add address=xxx.xxx.xxx.xxx list=Ban_ip} on-error={}]]></description>
			<content:encoded><![CDATA[<p>Mikrotik 匯入 換行格式 須為 windows , unix CLRF 格式不行<br />
內容範例<br />
/ip firewall address-list<br />
add address=103.137.150.244 list=Badip_List<br />
# 連續時相同會出現錯誤訊息</p>
<p>再改為<br />
do {/ip firewall address-list add address=xxx.xxx.xxx.xxx list=Ban_ip} on-error={}</p>
]]></content:encoded>
			<wfw:commentRss>https://ui.idv.tw/wordpress/?feed=rss2&#038;p=1392</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
