Тёмный

Port Knocking Step by Step - Mikrotik RouterOS v6 & 7 

Wilmer Almazan / The Network Trip
Подписаться 11 тыс.
Просмотров 7 тыс.
50% 1

#mikrotik #routeros7 #mikrotikSecurity
Port knocking is a mechanism to secure a network device by closing all the ports-even those you know will be used. Those ports will be opened on demand if-and only if-the connection request provides the secret knock (prearranged pattern). Port Knocking is one layer of security, it MUST NOT be our only form of defense
**************************SAMPLE CONFIG********************
*****Intended for lab purposes********************************
/ip firewall filter
add action=accept chain=input comment="Established and Related" connection-state=established,related
add action=drop chain=input comment=Invalid connection-state=invalid
add action=accept chain=input comment="Allow Winbox & SSH to Trusted IPs" dst-port=8291,22 in-interface=ether1 protocol=tcp src-address-list=trusted-ips
add action=add-src-to-address-list address-list=phase1-knocking address-list-timeout=1m chain=input comment="Phase 1 knocking" dst-port=8000 in-interface=ether1 protocol=tcp
add action=add-src-to-address-list address-list=phase2-knocking address-list-timeout=1m chain=input comment="Phase 2 Knocking" dst-port=7000 in-interface=ether1 protocol=tcp src-address-list=\
phase1-knocking
add action=add-src-to-address-list address-list=trusted-ips address-list-timeout=1d chain=input comment="Phase 3 Knocking" dst-port=7440 in-interface=ether1 protocol=tcp src-address-list=\
phase2-knocking
add action=drop chain=input comment="Drop Connections From Internet" in-interface=ether1
*********************END SAMPLE CONFIG************
Check more videos on my channel
/ @thenetworktrip
Connect with Wilmer Almazan
LinkedIN: / wilmeralmazan
Facebook: / nsswilmeralmazan
Twitter: / wilmer_almazan
Instagram: / wilmer_almazan
Personal Blog: thenetworktrip...
mikrotik
routeros 7
ospf
mtcna
mtcre
cybersecurity
routing
cloud computing
virtualization
switching
network automation

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 11   
@ZX-8Bits
@ZX-8Bits Год назад
Great! Thanks for sharing. Very well explained! Cheers from Mesi's City - Rosario - Argentina!
@TheNetworkTrip
@TheNetworkTrip Год назад
Glad you enjoyed it!
@laurenttaieb65
@laurenttaieb65 Год назад
perfectly explained. Thanks
@OstJoker
@OstJoker Год назад
Thank you for the video. Unfortunately there is no option to set port knocking "action" as "run script". IMHO, it will be extremely useful in many use cases. Maybe you know some workaround how can I force mikrotik to run script after successful port knocking?
@ABAMSYTEL
@ABAMSYTEL Год назад
GREAT VIDEO!!! tks
@PabloMateoDrappo
@PabloMateoDrappo 2 года назад
Excellent Tutorial!
@TheNetworkTrip
@TheNetworkTrip 2 года назад
Glad you liked it!
@SiBex_ovh
@SiBex_ovh 2 года назад
I use that PK but have additonal rule who detect any knocking into range 6000-9000 (without my 3 ports) and I block that IP at 1h. This is used when I cannot connect from trusted constance public ip. This prevent me from that knocking automatics.
@jeytis72
@jeytis72 2 года назад
Very good. Could we have the Eve-ng project file? Thanks
@EstebanAbisaiTrinidadGomez
@EstebanAbisaiTrinidadGomez Месяц назад
porque en la 7.15.3 no aparecen la src address list en advance
@WilmerAlmazan
@WilmerAlmazan Месяц назад
Hola! Fue movido al tab general
Далее
Multi Area OSPF - Mikrotik RouterOS v7
20:42
Просмотров 12 тыс.
这到底是怎么做到的 #路飞#海贼王
00:10
Просмотров 4,3 млн
НЮША РОЖАЕТ?
00:17
Просмотров 858 тыс.
VXLAN Mikrotik - RouterOS v7
16:36
Просмотров 16 тыс.
Mikrotik VLANs - CRS1xx & CRS2xx - Mikrotik Tutorial
21:53
Port knocking with MikroTik
11:36
Просмотров 17 тыс.
Recursive Routing + Failover - Mikrotik RouterOS v7
20:35
An Introduction to MikroTik RouterOS for Newbies!
47:37
MikroTik switches are LEGIT!
15:02
Просмотров 33 тыс.
Policy Based Routing + Failover - RouterOS v7
31:09
Просмотров 29 тыс.
Is your MikroTik vulnerable...?
19:43
Просмотров 15 тыс.
这到底是怎么做到的 #路飞#海贼王
00:10
Просмотров 4,3 млн