Community discussions

MikroTik App
 
paulley
newbie
Topic Author
Posts: 26
Joined: Thu Aug 30, 2012 4:15 pm

Problem with port 25

Mon Sep 15, 2014 9:51 pm

hi, i have a strange Problem.
from the terminal (and all Computers connected to this board) i cant connect to a SMTP Server on port 25
When i run the following command: /System Telnet smtp.a1.net 25 i dont get data back from the SMTP Server.

When trying on a Router with nearly the same config, there is no Problem...


Filter rules:
[admin@MikroTik] > /ip firewall filter print         
Flags: X - disabled, I - invalid, D - dynamic 
 0   ;;; default configuration
     chain=input action=accept protocol=icmp 

 1   ;;; default configuration
     chain=input action=accept connection-state=established 

 2   ;;; default configuration
     chain=input action=accept connection-state=related 

 3   ;;; Open Winbox
     chain=input action=accept protocol=tcp dst-port=8291 port="" 

 4   ;;; Open WWW
     chain=input action=accept protocol=tcp dst-port=80 port="" 

 5 X ;;; Open WWW
     chain=input action=accept protocol=udp dst-address=192.168.0.100 src-port=1194 dst-port=1194 

 6 I ;;; default configuration
     chain=input action=drop in-interface=sfp1-gateway 

 7 X ;;; default configuration
     chain=input action=drop in-interface=ether1-gateway 
Nat rules:

[admin@MikroTik] > /ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic 
 0   ;;; default configuration
     chain=srcnat action=masquerade to-addresses=0.0.0.0 
     out-interface=ether1-gateway 

 1 X ;;; default configuration
     chain=srcnat action=masquerade out-interface=sfp1-gateway 

 2   ;;; OpenVPN
     chain=dstnat action=dst-nat to-addresses=192.168.0.100 to-ports=1194 
     protocol=udp dst-port=1194 

 3   ;;; SMTP SBS
     chain=dstnat action=dst-nat to-addresses=192.168.0.250 protocol=tcp 
     in-interface=ether1-gateway dst-port=25 

 4   ;;; SQLServer 
     chain=dstnat action=dst-nat to-addresses=192.168.0.250 protocol=tcp 
     src-address=x.x.x.x in-interface=ether1-gateway dst-port=xxxx

 5   ;;; SMTP HTTP
     chain=dstnat action=dst-nat to-addresses=192.168.0.250 protocol=tcp 
     in-interface=ether1-gateway dst-port=80 
 
CsXen
Frequent Visitor
Frequent Visitor
Posts: 94
Joined: Wed Sep 10, 2014 8:31 pm
Location: Budapest - Hungary

Re: Problem with port 25

Tue Sep 16, 2014 11:45 am

Hi.

> 3 ;;; SMTP SBS
> chain=dstnat action=dst-nat to-addresses=192.168.0.250 protocol=tcp
> in-interface=ether1-gateway dst-port=25

Are clients coming from eth1 ?

Best wishes: Xen

Who is online

Users browsing this forum: js02sixty and 66 guests