Community discussions

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

How to Block port 25

Wed Dec 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
 
blake
Member
Member
Posts: 426
Joined: Mon May 31, 2010 10:46 pm
Location: Arizona

Re: How to Block port 25

Wed Dec 08, 2010 7:04 pm

/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
 
halimzhz
newbie
Posts: 37
Joined: 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

Who is online

Users browsing this forum: andreacar, Bing [Bot], CyberMuz, nagylzs, OptiTech, seriosha and 123 guests