Community discussions

MikroTik App
 
jo2jo
Forum Guru
Forum Guru
Topic Author
Posts: 1003
Joined: Fri May 26, 2006 1:25 am

easy port 25 question

Wed Aug 19, 2009 3:14 am

all of my users have problems sending SMTP port 25 email. as they all use different smtp server.

what rule do i set so that all their port 25 gets forwarded to my SMTP server??

all my clients are 192.168.5.0/24

my offsite SMTP server is 192.168.1.109

both can ping each other.

i set a rule on the 5.0/24 side:

/add chain=dstnat action=dst-nat to-addresses=192.168.1.109 to-ports=25 in-interface=ether1-uplinkSW \
src-address=192.168.5.0/24 dst-port=25 protocol=tcp comment="" disabled=no


this should do it right?? so that no matter what the end user has their port 25 smtp server set to, it should be forced to my smtp server right?

thanks
 
User avatar
NetworkPro
Forum Guru
Forum Guru
Posts: 1376
Joined: Mon Jan 05, 2009 6:23 pm
Location: bit.ly/the-qos
Contact:

Re: easy port 25 question

Wed Aug 19, 2009 3:51 am

Looks like it should work. But this service includes authentication. What will you do with users credentials? Accept all/any on your mail server?

Who is online

Users browsing this forum: No registered users and 75 guests