Community discussions

MikroTik App
 
illiniwireless
Member Candidate
Member Candidate
Topic Author
Posts: 152
Joined: Mon Dec 26, 2005 12:36 am
Location: USA

sending email problem

Wed Feb 17, 2010 6:51 pm

I need to be able to send email from my computer on port 25 and have the gateway router change it to port 587 because verizon blocks port 25 on most things other than themselves. Any help would be appreciated. Thanks
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: sending email problem

Wed Feb 17, 2010 6:53 pm

Without more detail from you:
/ip firewall nat
add chain=srcnat action=src-nat protocol=tcp dst-port=25 to-ports=587 in-interface=[NAME OF LAN INTERFACE]
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8716
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: sending email problem

Wed Feb 17, 2010 6:56 pm

probably, 'chain=dstnat action=dst-nat'
 
illiniwireless
Member Candidate
Member Candidate
Topic Author
Posts: 152
Joined: Mon Dec 26, 2005 12:36 am
Location: USA

Re: sending email problem

Wed Feb 17, 2010 7:02 pm

Thanks but it didn't work.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: sending email problem

Wed Feb 17, 2010 8:46 pm

probably, 'chain=dstnat action=dst-nat'

Duh. Yes.

Is the rule counting packets?
 
illiniwireless
Member Candidate
Member Candidate
Topic Author
Posts: 152
Joined: Mon Dec 26, 2005 12:36 am
Location: USA

Re: sending email problem

Wed Feb 17, 2010 9:26 pm

It was counting packets but still didn't allow me to send email. If I change my outlook from port 25 to port 587 it works. What am I doing wrong?

Thanks and apparently you have to eliminate the 0.0.0.0 in the rule for it to work.

chain=dstnat action=dst-nat to-ports=587 protocol=tcp dst-port=25

Thanks Again