⏱ O‘qish vaqti: 3 daqiqa
Qisqacha
- Chrome Remote Desktop uchun 5222/TCP va UDP portini belgilash
- LAN ichidagi kirish va chiqish paketlarini alohida markalash
- Markalangan paketlar orqali keyingi NAT yoki QoS qo‘llash imkoniyati
Chrome Remote Desktop foydalanuvchilarga masofaviy kompyuterga ulanishni ta’minlaydi, lekin bu xizmat uchun 5222 porti ochiq bo‘lishi kerak. MikroTik routerda bu portga keluvchi trafikni aniq belgilash, keyinchalik uni boshqarish yoki NAT qilishni osonlashtiradi. Quyidagi qadamlar orqali mangle qoidalarini qo‘shasiz.
Talablar
- MikroTik routerga admin huquqi bilan kirish
- RouterOS CLI yoki WinBox interfeysi
- LAN tarmog‘i 192.168.1.0/24 diapazonida
Sozlash bosqichlari
1. 5222/TCP port uchun connection mark qo‘shish
/ip firewall mangle bo‘limiga kirib, action=mark-connection qoidasi bilan dst-port="5222" va protocol=tcp ni belgilab, yangi connection-mark conn-GCDC ni yarating.
Bu qoidalar keluvchi TCP trafikni tanib, keyingi qoidalarda foydalanish uchun belgilaydi.
Chrome Remote Desktop. The easy way to remotely connect with your home or work computer, or share your screen with others. ... Built on Google's secure infrastructure using the latest open web technologies like WebRTC, you can connect to your devices or share your screen with confidence.
Port forward Chrome Remote Desktop:
TCP/UDP: 5222/5222
/ip firewall mangle
add action=mark-connection chain=prerouting dst-port="5222" new-connection-mark=conn-GCDC protocol=tcp
add action=mark-connection chain=prerouting dst-port="5222" new-connection-mark=conn-GCDC protocol=udp
add action=mark-packet chain=prerouting connection-mark=conn-GCDC new-packet-mark=GCDC_pkt-up passthrough=no src-address=192.168.1.0/24
add action=mark-packet chain=prerouting connection-mark=conn-GCDC dst-address=192.168.1.0/24 new-packet-mark=GCDC_pkt-down passthrough=no
Credit: www.o-om.com
2. 5222/UDP port uchun connection mark qo‘shish
Yuqoridagi qoidani protocol=udp bilan takrorlang, shunda UDP trafik ham conn-GCDC markasiga ega bo‘ladi.
Chrome Remote Desktop UDP ham ishlatishi mumkin, shuning uchun ikkalasini ham belgilash muhim.
Chrome Remote Desktop. The easy way to remotely connect with your home or work computer, or share your screen with others. ... Built on Google's secure infrastructure using the latest open web technologies like WebRTC, you can connect to your devices or share your screen with confidence.
Port forward Chrome Remote Desktop:
TCP/UDP: 5222/5222
/ip firewall mangle
add action=mark-connection chain=prerouting dst-port="5222" new-connection-mark=conn-GCDC protocol=tcp
add action=mark-connection chain=prerouting dst-port="5222" new-connection-mark=conn-GCDC protocol=udp
add action=mark-packet chain=prerouting connection-mark=conn-GCDC new-packet-mark=GCDC_pkt-up passthrough=no src-address=192.168.1.0/24
add action=mark-packet chain=prerouting connection-mark=conn-GCDC dst-address=192.168.1.0/24 new-packet-mark=GCDC_pkt-down passthrough=no
Credit: www.o-om.com
3. LAN ichidan keluvchi paketlarni up‑mark bilan belgilash
action=mark-packet qoidasi orqali connection-mark=conn-GCDC va src-address=192.168.1.0/24 bo‘lgan paketlarga new-packet-mark=GCDC_pkt-up ni bering. passthrough=no parametri bu paketni keyingi qoidalarga uzatmaydi.
Chrome Remote Desktop. The easy way to remotely connect with your home or work computer, or share your screen with others. ... Built on Google's secure infrastructure using the latest open web technologies like WebRTC, you can connect to your devices or share your screen with confidence.
Port forward Chrome Remote Desktop:
TCP/UDP: 5222/5222
/ip firewall mangle
add action=mark-connection chain=prerouting dst-port="5222" new-connection-mark=conn-GCDC protocol=tcp
add action=mark-connection chain=prerouting dst-port="5222" new-connection-mark=conn-GCDC protocol=udp
add action=mark-packet chain=prerouting connection-mark=conn-GCDC new-packet-mark=GCDC_pkt-up passthrough=no src-address=192.168.1.0/24
add action=mark-packet chain=prerouting connection-mark=conn-GCDC dst-address=192.168.1.0/24 new-packet-mark=GCDC_pkt-down passthrough=no
Credit: www.o-om.com
4. LAN ga qaytuvchi paketlarni down‑mark bilan belgilash
Yuqoridagi qoidani dst-address=192.168.1.0/24 va new-packet-mark=GCDC_pkt-down bilan sozlang. Bu paketlar LAN ga qaytganida alohida belgi oladi.
Chrome Remote Desktop. The easy way to remotely connect with your home or work computer, or share your screen with others. ... Built on Google's secure infrastructure using the latest open web technologies like WebRTC, you can connect to your devices or share your screen with confidence.
Port forward Chrome Remote Desktop:
TCP/UDP: 5222/5222
/ip firewall mangle
add action=mark-connection chain=prerouting dst-port="5222" new-connection-mark=conn-GCDC protocol=tcp
add action=mark-connection chain=prerouting dst-port="5222" new-connection-mark=conn-GCDC protocol=udp
add action=mark-packet chain=prerouting connection-mark=conn-GCDC new-packet-mark=GCDC_pkt-up passthrough=no src-address=192.168.1.0/24
add action=mark-packet chain=prerouting connection-mark=conn-GCDC dst-address=192.168.1.0/24 new-packet-mark=GCDC_pkt-down passthrough=no
Credit: www.o-om.com
Tekshirish
Mangle qoidalari qo‘shilgandan so‘ng, RouterOS statistikalarida 5222 portiga tegishli trafikni ko‘rib, belgilangan paketlarni tasdiqlang.
Diqqat:
- Mangle qoidalari firewall zanjirining boshida joylashgan bo‘lishi kerak, aks holda paketlar boshqa qoidalar tomonidan bloklanishi mumkin
- Port 5222 ga kirish ruxsatini umumiy firewall qoidalarida ham tekshiring
Xulosa
Bu mangle qoidalari Chrome Remote Desktop trafikini aniq belgilashga yordam beradi, keyingi NAT yoki QoS sozlamalarini soddalashtiradi. Kerakli portni ochiq tuting va qoidalar tartibini tekshiring.
Manba: Mangle and Port Google Chrome Remote Desktop — mikrotiktool.github.io