POP3 and SMTP through hotspot without authentication

Hi

I recently installed a hotspot for a client on their internal network at their company.

I have added all work related websites into the walled garden so that they can access those without authentication.

Any other sites that they want to visit they need to auth and pay for usage from their personal staff account.

I need to get their mail clients(Outlook etc) to work without auth.

Is there a way to let pop3 and smtp through the hotspot without auth.

I have tried everything in the garden with no luck.

Is there a way that I can allow src-port or specify src-port and src-protocol in the walled garden so that I can allow 110 and 25 as a source?

I am using RouterOS 3.30

Thanks

Welcome to the MT forum! You should use the firewall filter rules to do this.

/ip firewall filter
add chain=forward action=accept src-address=192.168.0.0/24 dst-port=25 protocol=tcp
add chain=forward action=accept dst-address=192.168.0.0/24 src-port=25 protocol=tcp
add chain=forward action=accept src-address=192.168.0.0/24 dst-port=110 protocol=tcp
add chain=forward action=accept dst-address=192.168.0.0/24 src-port=110 protocol=tcp

Then move all these rules to the top of the filter list with ‘move’. Must be above the rule with ‘place hotspot rules here’ remark.

Tested on RB433ah V3.30

ADD: If the client email servers are not set up to relay email for your ip, they may have trouble sending email.