ropeba
July 29, 2006, 1:28pm
1
Does anyne know how could I set sending only via SMTP server of my provider, and all others must be rejected. I did following, but it’s not working
/ ip firewall filter
add chain=forward protocol=tcp dst-port=25 dst-address-list=SMTP action=drop comment=“” disabled=no
/ ip firewall address-list
add list=SMTP address=PROVIDERIP/32 comment=“ISP SMTP” disabled=no
Order of the rules should probably be reversed, as you are rejecting everything before you are allowing what you want. Allow first, then reject the rest?
SMA
ropeba
July 29, 2006, 1:38pm
3
but can you tell me which order should I use?
how should I configure that?
thanks
ropeba
July 29, 2006, 1:48pm
4
I got it, first I add rule for forwarding of port 25 to Ip form provider, and then I add rule for blocking of all bandwith on port 25
GotNet
July 29, 2006, 7:50pm
5
Thiis type of thing is good in WinBox - just drag 'em where you want 'em.
Mike
savage
July 30, 2006, 8:44am
6
Why not just use one rule?
/ ip firewall filter
add chain=forward protocol=tcp dst-port=25 dst-address-list=!SMTP action=drop comment="" disabled=no
Drop everything outgoing on port 25 not going to dst-address-list ?