Community discussions

MikroTik App
sri
newbie
Topic Author
Posts: 42
加入: Tue Mar 23, 2010 9:48 am

How to Block port 25

结婚12月08, 2010 9:39 am

Hi,

I want to block port 25 on my router and want to allow only few IP/IP-pools to access port 25. Can anyone give me a small example.

Thanks,
Srinivas
Top
blake
Member
Member
Posts: 426
加入: Mon May 31, 2010 10:46 pm
Location:Arizona

Re: How to Block port 25

结婚12月08, 2010 7:04 pm

Code:Select all
/ip firewall address-list add list=smtp-whitelist address=192.0.2.1 /ip firewall filter add chain=forward action=accept dst-port=25 src-address-list=smtp-whitelist add chain=forward action=drop dst-port=25
Top
halimzhz
newbie
Posts: 37
加入: Fri Jun 09, 2017 2:38 am
Location:Malaysia
Contact:

Re: How to Block port 25

Wed Jun 28, 2017 11:43 pm

Hi,

May i know how can i block multiple port but i would like to whitelist some countries to access the port

Please help. TQ
Top

Who is online

Users browsing this forum:Ahrefs [Bot],Bing [Bot],colchesqui,Semrush [Bot]and 14 guests