Community discussions

MikroTik App
 
tribute2soad
just joined
Topic Author
Posts: 11
Joined: Thu Jul 12, 2012 12:03 pm

NTP Bypass on Mikrotik Hotspot

Fri Mar 09, 2018 11:49 am

Hi there,

is it possible to bypass ntp requests through mirotik hotspot?

You can't assign a fixed ntp client for android devices, so that in my opinion you have to bypass requests to port 123.

When i set
/ip hotspot walled-garden ip add action=accept disabled=no dst-port=123

i get no hit on that. Same here:
/ip hotspot walled-garden add dst-port=123 add dst-port=123
Any ideas?

The solution is needed for unauthorised clients.
 
erfanurmia
newbie
Posts: 31
Joined: Wed Mar 07, 2018 11:14 am
Contact:

Re: NTP Bypass on Mikrotik Hotspot

Sun Mar 11, 2018 3:13 pm

hi
you can set bypass on ip binding
 
tribute2soad
just joined
Topic Author
Posts: 11
Joined: Thu Jul 12, 2012 12:03 pm

Re: NTP Bypass on Mikrotik Hotspot

Mon Mar 12, 2018 9:01 am

hi
you can set bypass on ip binding
Thanks for your reply. But there is no solution to bypass only ntp-requests? Or am I wrong?
 
tribute2soad
just joined
Topic Author
Posts: 11
Joined: Thu Jul 12, 2012 12:03 pm

Re: NTP Bypass on Mikrotik Hotspot  [SOLVED]

Mon Mar 12, 2018 11:38 am

Hi,

i have fixed it by adding the following lines:
/ip firewall filter
add action=accept chain=forward dst-port=123 protocol=udp
/ip firewall nat
add action=masquerade chain=srcnat dst-port=123 protocol=udp src-address=hotspotnetwork
Important: You have to place the rules in front of the dynamic hotspot rules
 
erfanurmia
newbie
Posts: 31
Joined: Wed Mar 07, 2018 11:14 am
Contact:

Re: NTP Bypass on Mikrotik Hotspot

Mon Mar 12, 2018 1:38 pm

Hi,

i have fixed it by adding the following lines:
/ip firewall filter
add action=accept chain=forward dst-port=123 protocol=udp
/ip firewall nat
add action=masquerade chain=srcnat dst-port=123 protocol=udp src-address=hotspotnetwork
Important: You have to place the rules in front of the dynamic hotspot rules

this answer is truly answer