Community discussions

MUM Europe 2020
just joined
Topic Author
Posts: 1
Joined: Wed Jan 15, 2020 10:57 pm

Block outgoing port 25

Wed Jan 15, 2020 11:04 pm

Hi, i am new in mikrotik, where i can block smtp ports ? I want to avoid that any machine except server can send emails. i did this but didnt work, it blocks server too.


Thank you
User avatar
Forum Veteran
Forum Veteran
Posts: 732
Joined: Mon Apr 02, 2007 5:43 am
Location: Arizona, USA

Re: Block outgoing port 25

Thu Jan 16, 2020 10:14 am

You have four rules that accept ports, followed by four rules that drop ports, which will never be executed because they have already been accepted.

Get rid of the accept rules, and to each of the drop rules you have, add the term:


where ADDR is the IP address of your permitted server.
Forum Guru
Forum Guru
Posts: 3616
Joined: Thu Mar 03, 2016 10:23 pm

Re: Block outgoing port 25

Thu Jan 16, 2020 10:24 am

Screenshot doesn't show rules with their whole definition. Please post textual export (run /ip firewall export in terminal window and post the output).

Who is online

Users browsing this forum: anav and 48 guests