mike2246 Posted September 15, 2021 Share Posted September 15, 2021 Is there a way to have my UnRaid Server be a NTP server for all my local IoT devices and cameras? I've tried to make a customer docker with some Chrony Dockers on Github but when I start it all I get is a cmd prompt. Quote Link to comment
JonathanM Posted September 15, 2021 Share Posted September 15, 2021 Unraid has a built in NTP server by default. Just point your devices at Unraid's IP. 2 Quote Link to comment
Jokerigno Posted May 18, 2022 Share Posted May 18, 2022 On 9/15/2021 at 5:00 PM, JonathanM said: Unraid has a built in NTP server by default. Just point your devices at Unraid's IP. Hi @JonathanM can you please specify? I have a security cam that has the possibility to setup a custm NTP server but it asks me Server adress and port. I tried to change adress to my unraid server local address and let default port (123) but it doesn't work. Any hint? TY Quote Link to comment
JonathanM Posted May 18, 2022 Share Posted May 18, 2022 Can you verify that the server and camera are on the same subnet with no firewall rules that would restrict traffic? I just verified again and it "just works" for me. Quote Link to comment
Jokerigno Posted May 18, 2022 Share Posted May 18, 2022 8 hours ago, JonathanM said: Can you verify that the server and camera are on the same subnet with no firewall rules that would restrict traffic? I just verified again and it "just works" for me. yes Cam has a rule that should be restrict to lan only. But both camera and server are in the same subnet: 192.168.2.xxx Quote Link to comment
JonathanM Posted May 18, 2022 Share Posted May 18, 2022 If you have a windows machine on the same subnet, open a command prompt and net time \\<serverIP> /set /yes If it returns with "Current time at \\<serverIP> is <DATE> <TIME> The command completed successfully." Then the ntp service on the server is responding. Quote Link to comment
nicx Posted November 29, 2022 Share Posted November 29, 2022 On 9/15/2021 at 5:00 PM, JonathanM said: Unraid has a built in NTP server by default. Just point your devices at Unraid's IP. Hey @JonathanM is this still the case? I just tested it with my Mac client in the same subnet, but got a timeout. Anything else to be aware of? Quote Link to comment
HHUBS Posted May 4, 2023 Share Posted May 4, 2023 Hi @JonathanM my camera is in different VLAN from the unraid server. How can I use unraid IP to point as NTP on my camera settings? Quote Link to comment
JonathanM Posted May 4, 2023 Share Posted May 4, 2023 1 minute ago, HHUBS said: Hi @JonathanM my camera is in different VLAN from the unraid server. How can I use unraid IP to point as NTP on my camera settings? Add a firewall rule to pass port 123 UDP? Quote Link to comment
HHUBS Posted May 4, 2023 Share Posted May 4, 2023 2 minutes ago, JonathanM said: Add a firewall rule to pass port 123 UDP? Where should I set this? On unraid? If yes, how can I set it? Are there any commands please? Quote Link to comment
JonathanM Posted May 4, 2023 Share Posted May 4, 2023 1 minute ago, HHUBS said: Where should I set this? On your firewall where you have the VLAN routing set up? I'm probably not the best person to ask, I don't have much experience with VLANs. Quote Link to comment
apandey Posted May 4, 2023 Share Posted May 4, 2023 4 minutes ago, HHUBS said: Where should I set this? On unraid? If yes, how can I set it? Are there any commands please? What are you using to setup your networking? VLANs, subnets - a firewall, or a router with firewall perhaps Quote Link to comment
HHUBS Posted May 4, 2023 Share Posted May 4, 2023 (edited) @JonathanM @apandey The VLANs are setup on TP link smart switch and I already check the settings on it but there were no firewall settings there. In unraid, I already setup VLAN. Actually I followed this guide by spaceinavder One on YT. Edited May 4, 2023 by HHUBS Quote Link to comment
apandey Posted May 4, 2023 Share Posted May 4, 2023 3 hours ago, HHUBS said: The VLANs are setup on TP link smart switch That seems like a layer 2 only switch, so while it will allow VLANs, it won't be able to route through them What are you using as a router? That's where you need to allow routing between the networks Quote Link to comment
HHUBS Posted May 7, 2023 Share Posted May 7, 2023 (edited) On 5/4/2023 at 12:54 PM, apandey said: That seems like a layer 2 only switch, so while it will allow VLANs, it won't be able to route through them What are you using as a router? That's where you need to allow routing between the networks I'm just using my ISP modem-router. I have no 3rd party router. Edited May 7, 2023 by HHUBS Quote Link to comment
apandey Posted May 7, 2023 Share Posted May 7, 2023 2 hours ago, HHUBS said: I'm just using my ISP modem-router. I have no 3rd party router Do you have access to that routers interface? You have to route between VLANs if the router or switch allows it, else the default behaviour is to keep them separate Routing across VLANs need one of the following: 1. A layer 3 switch 2. Router with one physical interface per VLAN 3. Router with VLAN trunking enabled You may be out of luck. Inter-VLAN routing is an advanced topics because VLAN traffic is tagged at layer 2 while routing happens at layer 3. Connecting these two is why you need a device which can see separate vlan interfaces in some way (physical or logical). Your switch does not deal with layer 3 at all, your router may not see VLAN interfaces at all Quote Link to comment
Batman Posted July 26, 2023 Share Posted July 26, 2023 (edited) @JonathanMI'm trying to do the same as Jokerigno--set my network cameras (restricted to LAN only) to use Unraid's NTP server. I tested the command you provided in Windows, but got this result: C:\Users\[username]>net time \\10.0.0.100 /set /yes Current time at \\10.0.0.100 is 7/25/2023 21:33:49 System error 1314 has occurred. A required privilege is not held by the client. I don't see settings in either Unraid or the camera for authentication or privileges. ---- Edit: This is because I wasn't using an elevated command prompt... when I run this with an elevated command prompt, the time is set successfully. Any ideas why my camera can't set itself from my server? They're both on the same subnet and I'm not aware of firewall rules that would block the connection. The camera already provides video to the server. Edited July 26, 2023 by Batman Quote Link to comment
JonathanM Posted July 26, 2023 Share Posted July 26, 2023 11 minutes ago, Batman said: . I tested the command you provided in Windows, but got this result: That's because you didn't elevate the command prompt. Right click the command prompt icon and run as administrator Quote Link to comment
Recommended Posts
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.