Community discussions

MikroTik App
 
mindaugasstun
just joined
Topic Author
Posts: 8
Joined: Wed Aug 18, 2021 2:47 pm

SMTP, IMAP cant connect to mail server

Sat Aug 21, 2021 12:13 pm

hello,
i'm new one in mikrotik.
I have created vlans, they working fine except:
Outlook on the pc does not work, it cant connect to mail server and send emails, also some web sites does not work :(
I need to open all pop3, imap, smtp, https and ect ports for all vlans
HELP!
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: SMTP, IMAP cant connect to mail server

Sat Aug 21, 2021 10:25 pm

VLANs are used to create different network segments ( for network segmentation in simple words)...
They work in the Layer 2 of OSI model...

If you are blocking something you need to check your Firewall...
Although, when you say that some sites do work but some others dont, my mind goes to MTU problems...
 
mindaugasstun
just joined
Topic Author
Posts: 8
Joined: Wed Aug 18, 2021 2:47 pm

Re: SMTP, IMAP cant connect to mail server

Sun Aug 22, 2021 10:16 pm

Hmm, maybe I have found the problem, but -again - no info.
Solution - if on WAN I making Dynamic IP from isp - everything going fine.
If I changing to static - not working all websites, Outlook and etc.
What I have found, that, in IP>DNS on General tab, there are Dynamic servers option, which I cant change.
If ISP Dynamic, Dynamic servers getting strange two DNS from ISP,
when I'm changing to static, Dynamic servers - are blank and bad things with the internet.
How to enter through terminal Dynamic servers ip's?

My router config
# aug/22/2021 22:18:33 by RouterOS 6.48.3
# software id = FJKX-T92A
#
# model = CRS354-48G-4S+2Q+
# serial number = D8510D886C9F
/interface bridge
add name=BridgeVLvlan2635
add admin-mac=08:55:31:BA:E5:CC auto-mac=no comment=defconf name=bridge
add name=bridgeVLAN10
add name=bridgeVLAN11
add name=bridgeVLAN12
add name=bridgeVLAN13
add name=bridgeVLAN14
add name=bridgeVLAN15
add name=bridgeVLAN16
add name=bridgeVLAN17
add name=bridgeVLAN18
add name=bridgeVLAN19
add name=bridgeVLAN20
add name=bridgeVLAN21
add name=bridgeVLAN22
add name=bridgeVLAN23
add name=bridgeVLAN24
add name=bridgeVLAN25
/interface vlan
add interface=bridgeVLAN10 name=vlan10 vlan-id=10
add interface=bridgeVLAN11 name=vlan11 vlan-id=11
add interface=bridgeVLAN12 name=vlan12 vlan-id=12
add interface=bridgeVLAN13 name=vlan13 vlan-id=13
add interface=bridgeVLAN14 name=vlan14 vlan-id=14
add interface=bridgeVLAN15 name=vlan15 vlan-id=15
add interface=bridgeVLAN16 name=vlan16 vlan-id=16
add interface=bridgeVLAN17 name=vlan17 vlan-id=17
add interface=bridgeVLAN18 name=vlan18 vlan-id=18
add interface=bridgeVLAN19 name=vlan19 vlan-id=19
add interface=bridgeVLAN20 name=vlan20 vlan-id=20
add interface=bridgeVLAN21 name=vlan21 vlan-id=21
add interface=bridgeVLAN22 name=vlan22 vlan-id=22
add interface=bridgeVLAN23 name=vlan23 vlan-id=23
add interface=bridgeVLAN24 name=vlan24 vlan-id=24
add interface=bridgeVLAN25 name=vlan25 vlan-id=25
add interface=BridgeVLvlan2635 name=vlan2635 vlan-id=26
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool0 ranges=192.168.10.2-192.168.10.254
add name=dhcp_pool1 ranges=192.168.10.2-192.168.10.254
add name=dhcp_pool2 ranges=192.168.11.2-192.168.11.254
add name=dhcp_pool3 ranges=192.168.20.2-192.168.20.254
add name=dhcp_pool4 ranges=192.168.12.2-192.168.12.254
add name=dhcp_pool5 ranges=192.168.10.2-192.168.10.254
add name=dhcp_pool6 ranges=192.168.13.2-192.168.13.254
add name=dhcp_pool7 ranges=192.168.14.2-192.168.14.254
add name=dhcp_pool8 ranges=192.168.15.2-192.168.15.254
add name=dhcp_pool9 ranges=192.168.16.2-192.168.16.254
add name=dhcp_pool10 ranges=192.168.17.2-192.168.17.254
add name=dhcp_pool11 ranges=192.168.18.2-192.168.18.254
add name=dhcp_pool12 ranges=192.168.19.2-192.168.19.254
add name=dhcp_pool13 ranges=192.168.21.2-192.168.21.254
add name=dhcp_pool14 ranges=192.168.22.2-192.168.22.254
add name=dhcp_pool15 ranges=192.168.22.2-192.168.22.254
add name=dhcp_pool16 ranges=192.168.23.2-192.168.23.254
add name=dhcp_pool17 ranges=192.168.24.2-192.168.24.254
add name=dhcp_pool18 ranges=192.168.25.2-192.168.25.254
add name=dhcp_pool19 ranges=192.168.1.2-192.168.1.254
add name=dhcp ranges=192.168.88.3-192.168.88.254
add name=dhcp_pool21 ranges=192.168.18.2-192.168.18.254
add name=dhcp_pool22 ranges=192.168.18.2-192.168.18.254
/ip dhcp-server
add address-pool=dhcp_pool2 disabled=no interface=bridgeVLAN11 name=dhcp2
add address-pool=dhcp_pool3 disabled=no interface=bridgeVLAN20 name=dhcp3
add address-pool=dhcp_pool4 disabled=no interface=bridgeVLAN12 name=dhcp4
add address-pool=dhcp_pool5 disabled=no interface=bridgeVLAN10 name=dhcp1
add address-pool=dhcp_pool6 disabled=no interface=bridgeVLAN13 name=dhcp5
add address-pool=dhcp_pool7 disabled=no interface=bridgeVLAN14 name=dhcp6
add address-pool=dhcp_pool8 disabled=no interface=bridgeVLAN15 name=dhcp7
add address-pool=dhcp_pool9 disabled=no interface=bridgeVLAN16 name=dhcp8
add address-pool=dhcp_pool10 disabled=no interface=bridgeVLAN17 name=dhcp9
add address-pool=dhcp_pool12 disabled=no interface=bridgeVLAN19 name=dhcp11
add address-pool=dhcp_pool13 disabled=no interface=bridgeVLAN21 name=dhcp12
add address-pool=dhcp_pool14 disabled=no interface=bridgeVLAN22 name=dhcp13
add address-pool=dhcp_pool16 disabled=no interface=bridgeVLAN23 name=dhcp14
add address-pool=dhcp_pool17 disabled=no interface=bridgeVLAN24 name=dhcp15
add address-pool=dhcp_pool18 disabled=no interface=bridgeVLAN25 name=dhcp16
add address-pool=dhcp_pool19 disabled=no interface=BridgeVLvlan2635 name=\
dhcp17
add address-pool=dhcp disabled=no interface=bridge name=dhcp18
add address-pool=dhcp_pool22 disabled=no interface=bridgeVLAN18 name=dhcp10
/interface bridge port
add bridge=bridge comment=defconf disabled=yes interface=ether1
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=ether6
add bridge=bridge comment=defconf interface=ether7
add bridge=bridge comment=defconf interface=ether8
add bridge=bridge comment=defconf interface=ether9
add bridge=bridgeVLAN10 comment=defconf interface=ether10
add bridge=bridgeVLAN11 comment=defconf interface=ether11
add bridge=bridgeVLAN12 comment=defconf interface=ether12
add bridge=bridgeVLAN13 comment=defconf interface=ether13
add bridge=bridgeVLAN14 comment=defconf interface=ether14
add bridge=bridgeVLAN15 comment=defconf interface=ether15
add bridge=bridgeVLAN16 comment=defconf interface=ether16
add bridge=bridgeVLAN17 comment=defconf interface=ether17
add bridge=bridgeVLAN18 comment=defconf interface=ether18
add bridge=bridgeVLAN19 comment=defconf interface=ether19
add bridge=bridgeVLAN20 comment=defconf interface=ether20
add bridge=bridgeVLAN21 comment=defconf interface=ether21
add bridge=bridgeVLAN22 comment=defconf interface=ether22
add bridge=bridgeVLAN23 comment=defconf interface=ether23
add bridge=bridgeVLAN24 comment=defconf interface=ether24
add bridge=bridgeVLAN25 comment=defconf interface=ether25
add bridge=BridgeVLvlan2635 comment=defconf interface=ether26
add bridge=BridgeVLvlan2635 comment=defconf interface=ether27
add bridge=BridgeVLvlan2635 comment=defconf interface=ether28
add bridge=BridgeVLvlan2635 comment=defconf interface=ether29
add bridge=BridgeVLvlan2635 comment=defconf interface=ether30
add bridge=BridgeVLvlan2635 comment=defconf interface=ether31
add bridge=BridgeVLvlan2635 comment=defconf interface=ether32
add bridge=BridgeVLvlan2635 comment=defconf interface=ether33
add bridge=BridgeVLvlan2635 comment=defconf interface=ether34
add bridge=BridgeVLvlan2635 comment=defconf interface=ether35
add bridge=bridge comment=defconf interface=ether36
add bridge=bridge comment=defconf interface=ether37
add bridge=bridge comment=defconf interface=ether38
add bridge=bridge comment=defconf interface=ether39
add bridge=bridge comment=defconf interface=ether40
add bridge=bridge comment=defconf interface=ether41
add bridge=bridge comment=defconf interface=ether42
add bridge=bridge comment=defconf interface=ether43
add bridge=bridge comment=defconf interface=ether44
add bridge=bridge comment=defconf interface=ether45
add bridge=bridge comment=defconf interface=ether46
add bridge=bridge comment=defconf interface=ether47
add bridge=bridge comment=defconf interface=ether48
add bridge=bridge comment=defconf interface=ether49
add bridge=bridge comment=defconf interface=qsfpplus1-1
add bridge=bridge comment=defconf interface=qsfpplus1-2
add bridge=bridge comment=defconf interface=qsfpplus1-3
add bridge=bridge comment=defconf interface=qsfpplus1-4
add bridge=bridge comment=defconf interface=qsfpplus2-1
add bridge=bridge comment=defconf interface=qsfpplus2-2
add bridge=bridge comment=defconf interface=qsfpplus2-3
add bridge=bridge comment=defconf interface=qsfpplus2-4
add bridge=bridge comment=defconf interface=sfp-sfpplus1
add bridge=bridge comment=defconf interface=sfp-sfpplus2
add bridge=bridge comment=defconf interface=sfp-sfpplus3
add bridge=bridge comment=defconf interface=sfp-sfpplus4
/interface list member
add interface=ether1 list=WAN
add interface=bridge list=LAN
/ip address
add address=192.168.88.1/24 interface=bridge network=192.168.88.0
add address=192.168.10.1/24 interface=bridgeVLAN10 network=192.168.10.0
add address=192.168.11.1/24 interface=bridgeVLAN11 network=192.168.11.0
add address=192.168.20.1/24 interface=bridgeVLAN20 network=192.168.20.0
add address=192.168.12.1/24 interface=bridgeVLAN12 network=192.168.12.0
add address=192.168.13.1/24 interface=bridgeVLAN13 network=192.168.13.0
add address=192.168.14.1/24 interface=bridgeVLAN14 network=192.168.14.0
add address=192.168.15.1/24 interface=bridgeVLAN15 network=192.168.15.0
add address=192.168.16.1/24 interface=bridgeVLAN16 network=192.168.16.0
add address=192.168.17.1/24 interface=bridgeVLAN17 network=192.168.17.0
add address=192.168.18.1/24 interface=bridgeVLAN18 network=192.168.18.0
add address=192.168.21.1/24 interface=bridgeVLAN21 network=192.168.21.0
add address=192.168.19.1/24 interface=bridgeVLAN19 network=192.168.19.0
add address=192.168.22.1/24 interface=bridgeVLAN22 network=192.168.22.0
add address=192.168.23.1/24 interface=bridgeVLAN23 network=192.168.23.0
add address=192.168.24.1/24 interface=bridgeVLAN24 network=192.168.24.0
add address=192.168.25.1/24 interface=bridgeVLAN25 network=192.168.25.0
add address=192.168.1.1/24 interface=BridgeVLvlan2635 network=192.168.1.0
/ip dhcp-client
add disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.1.0/24 gateway=192.168.1.1
add address=192.168.10.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.10.1
add address=192.168.11.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.11.1
add address=192.168.12.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.12.1
add address=192.168.13.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.13.1
add address=192.168.14.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.14.1
add address=192.168.15.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.15.1
add address=192.168.16.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.16.1
add address=192.168.17.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.17.1
add address=192.168.18.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.18.1
add address=192.168.19.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.19.1
add address=192.168.20.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.20.1
add address=192.168.21.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.21.1
add address=192.168.22.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.22.1
add address=192.168.23.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.23.1
add address=192.168.24.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.24.1
add address=192.168.25.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.25.1
add address=192.168.88.0/24 gateway=192.168.88.1 netmask=24
/ip dns
set servers=212.59.1.1,212.59.2.2,8.8.8.8,8.8.4.4
/ip firewall address-list
add address=192.168.16.250 list=Allowed_IP_TCP
/ip firewall mangle
add action=change-mss chain=forward new-mss=clamp-to-pmtu passthrough=yes \
protocol=tcp tcp-flags=syn
/ip firewall nat
add action=masquerade chain=srcnat
add action=masquerade chain=srcnat disabled=yes out-interface-list=WAN
/ip route
add disabled=yes distance=1 gateway=xxx.56.xxx.254
/system clock
set time-zone-name=Europe/Vilnius
/system routerboard settings
set boot-os=router-os

Who is online

Users browsing this forum: No registered users and 16 guests