Community discussions

MikroTik App
 
the_time
newbie
Topic Author
Posts: 28
Joined: Sun Sep 26, 2004 5:14 pm

Firewall rule help!!!

Thu Sep 30, 2004 10:00 pm

Hello,
I have add a rule that block tcp port 25 so it works fine but I want to relase an ip.
My network configuration are 10.10.10.0 I want to that 10.10.10.5 to get acces to this port.
Thanks
 
cmit
Forum Guru
Forum Guru
Posts: 1547
Joined: Fri May 28, 2004 12:49 pm
Location: Germany

Fri Oct 01, 2004 9:58 am

Just enter a rule allowing SMTP traffic from this ip addresse BEFORE the one denying all (other) SMTP traffic in your firewall queue, so for example:
/ip firewall rule forward add src-address=10.10.10.5/32 protocol=tcp dst-port=25 action=accept place-before=<wherever it sits before the deny-smtp-rule>
You could improve this by adding in-interface and out-interface specs etc., but this you give you the idea...

Who is online

Users browsing this forum: echarlus, jaclaz and 94 guests