Community discussions

MikroTik App
 
brouyao
just joined
Topic Author
Posts: 6
Joined: Sat Jun 04, 2022 1:16 pm

REDIRECTION IN MIKROTIK

Wed Jun 15, 2022 12:37 pm

I have a mail server in local with a url mail.msd.ci when users type mail.msd.ci they fall on the mikrotik interface instead of falling on the mail server interface.
but outside the local network it works well
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: REDIRECTION IN MIKROTIK

Wed Jun 15, 2022 12:52 pm

Search here on the forum for "hairpin NAT" and check your dst-nat rules. The requests from local users come in via LAN, and chances are high that your dst-nat rules only redirect connections arriving in via WAN. But if you fix that, you'll run into the hairpin connection issue unless the mail server and the local users are in different subnets.
 
brouyao
just joined
Topic Author
Posts: 6
Joined: Sat Jun 04, 2022 1:16 pm

Re: REDIRECTION IN MIKROTIK

Wed Jun 15, 2022 1:53 pm

thanks how to correct it
the server and the users are same subnet
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: REDIRECTION IN MIKROTIK

Wed Jun 15, 2022 1:54 pm

Search here on the forum for "hairpin NAT" and check your dst-nat rules.
 
brouyao
just joined
Topic Author
Posts: 6
Joined: Sat Jun 04, 2022 1:16 pm

Re: REDIRECTION IN MIKROTIK

Wed Jun 15, 2022 4:58 pm

OK thanks

Who is online

Users browsing this forum: astronomicz, haung05, ips, kkeyser, ldyte1 and 91 guests