Need to give only SMTP/POP3 access to the internet to some local IP`s and deny all over traffick
How to please

Need to give only SMTP/POP3 access to the internet to some local IP`s and deny all over traffick
How to please

When setting masquarade you have an option to set protocol (set it to TCP) and then option to set port is available (you neet 25 and 110)
Local - 192.168.0.0/24
IP - 192.168.0.100 - 192.168.0.250 Should have access only to SMTP and POP3 on internet
IP - 192.168.0.0 - 192.168.0.99 - full access
If i do like you sad it will work for all IP range but i need to do it for some Ip`s only
/ ip firewall filter
add chain=forward src-address-list=all_services action=accept comment="allow 192.168.0.x full access" disabled=no
add chain=forward protocol=tcp dst-port=110 src-address-list=mail action=accept comment="allow pop3 to 192.168.0.y" disabled=no
add chain=forward protocol=tcp dst-port=25 src-address-list=mail action=accept comment="allow smtp to 192.168.0.y" disabled=no
add chain=forward src-address-list=mail action=drop comment="drop all other from 192.168.0.y" disabled=no
/ ip firewall address-list
add list=all_services address=192.168.0.x comment="full access list" disabled=no
add list=mail address=192.168.0.y comment="mail access list" disabled=no
Thank you
