Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] k4cus - NTP server LTC, for local time

Featured Replies

Hi guys,

I want to announce my simple ntp server, that can provide docker host localtime over ntp protocol.

 

What does it do?

 

This simple NTP server delivers time over ntp protocol to dummy devices like ip cameras, cheap routers that cannot handle time zone changes and day light saving correctly. With this container You can set your dummy device to use UTC time with no daylight saving and then point it to sychronize time ovet ntp protocol. This container will handle timezone correctly and deliver local time LTC to dummy device instead of UTC time (like regular ntp server does).

 

Install under unraid.

Go to docker tab in your unraid panel. At the bottom click add container. Then configure like at the image bellow. Replace ip with your own network ip address. Make sure selected ip is not taken by other device.

 

ntp1.png

After successful you will see:

ntp2.png

 

Point your dummy device to sync time over ntp.

This server localtime can be different, than docker host. Local time zone is provided by TZ variable.

Link to dockerhub: https://hub.docker.com/repository/docker/k4cus/ntpserverltc

 

This is my first docker, so maybe It is not very clean implementation.

Edited by Kacper

  • 3 months later...

@jonathanm I stumbled across a similar question: I would have liked to use the built-in NTPD server, but it seems this is limited to the local IP, so it is not usable by other clients. Unfortunately this can't be adjusted via GUI.

For this reason, this Docker solution could be useful. Or does anyone have an idea how to open the integrated NTPD server without more complex customizations?

2 hours ago, nicx said:

I would have liked to use the built-in NTPD server, but it seems this is limited to the local IP, so it is not usable by other clients.

How did you come to this conclusion? I just tested it by putting the name of my Unraid server in the ntp server box for one of my windows laptops, and it synchronized just fine. With the appropriate firewall rule in place, it works over WAN as well.

9 minutes ago, jonathanm said:

How did you come to this conclusion? I just tested it by putting the name of my Unraid server in the ntp server box for one of my windows laptops, and it synchronized just fine. With the appropriate firewall rule in place, it works over WAN as well.

I tried the same with no luck. And if I check the ntp config on the unraid server I can see that its restricted to 127.0.0.1.

Edited by nicx

3 minutes ago, nicx said:

I tried the same with no luck. And if I check the ntp config on the unraid server I can see that its restricted to 127.0.0.1.

Strange. I tested 2 different Unraid servers, one on my same local subnet, one across the WAN, both responded instantly.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.