允許某些IP可寄信

MikroTikRouterOS RB450G
回覆文章
yehlu
Site Admin
文章: 3244
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

允許某些IP可寄信

文章 yehlu »

https://forum.mikrotik.com/viewtopic.php?t=48808

代碼: 選擇全部

/ip firewall address-list
add list=Known-Good-SMTP address=192.168.1.10
add list=Known-Good-SMTP address=172.16.0.20
/ip firewall filter
add chain=forward protocol=tcp dst-port=25 src-address-list=!Known-Good-SMTP action=drop
回覆文章

回到「RouterOS」