Access with Domoticz app internally and externally?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
MatthijsD
Posts: 45
Joined: Sunday 19 March 2017 11:48
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Access with Domoticz app internally and externally?

Post by MatthijsD »

Not sure where to post and pretty sure I'm about to ask a dumb question, but I just can't figure it out and think I'm missing something..

How do I set the Domoticz Android app to connect with Domoticz running on my Synology NAS locally AND externally?
I do have a QuickConnect account for stuff like this, but the app only accepts an IP adress.
So I can only acces my switches when connected to my Wi-Fi at the moment.
User avatar
nulby
Posts: 4
Joined: Monday 27 March 2017 23:08
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: France
Contact:

Re: Access with Domoticz app internally and externally?

Post by nulby »

Hello,

i'm note sure it's the better way, but it's quite safe : i connect to my synology over a vpn (openvpn with vpn server), then i can use all apps on it :)
Sorry for my english
User avatar
Antori91
Posts: 136
Joined: Sunday 12 February 2017 17:12
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: France
Contact:

Re: Access with Domoticz app internally and externally?

Post by Antori91 »

You can do it with the External Access feature of Synology DSM. See screenshot below : I use Synology Dynamic DNS service to have a fixed WAN IP address like MYHOSTNAME.synology.me. Then I use this Fixed WAN IP address to access Domoticz from outside (externally)
Capture.JPG
Capture.JPG (108.22 KiB) Viewed 2540 times
Domoticz High Availability Cluster: Synology Dz V4.10693 (Main) - Raspberry Dz V4.10717 (Backup) - Scripts Node.js
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation
Jumper3126
Posts: 105
Joined: Thursday 31 December 2015 15:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Access with Domoticz app internally and externally?

Post by Jumper3126 »

Antori91 wrote: Thursday 18 October 2018 9:35 You can do it with the External Access feature of Synology DSM. See screenshot below : I use Synology Dynamic DNS service to have a fixed WAN IP address like MYHOSTNAME.synology.me. Then I use this Fixed WAN IP address to access Domoticz from outside (externally)
Capture.JPG
Hi safe would you rate this option?
User avatar
Antori91
Posts: 136
Joined: Sunday 12 February 2017 17:12
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: France
Contact:

Re: Access with Domoticz app internally and externally?

Post by Antori91 »

Jumper3126 wrote: Thursday 18 October 2018 14:33
Antori91 wrote: Thursday 18 October 2018 9:35 You can do it with the External Access feature of Synology DSM. See screenshot below : I use Synology Dynamic DNS service to have a fixed WAN IP address like MYHOSTNAME.synology.me. Then I use this Fixed WAN IP address to access Domoticz from outside (externally)
Capture.JPG
Hi safe would you rate this option?
From my experience (based at incoming connection log messages tracking), it is OK if you don't use usual standard Web port (locally you can use standard web port like 8084 but declare/use unusual port in your router NAT rule). With this simple rule, you don't see anymore weird connection coming from Russia or another countries.
Domoticz High Availability Cluster: Synology Dz V4.10693 (Main) - Raspberry Dz V4.10717 (Backup) - Scripts Node.js
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation
User avatar
jvdz
Posts: 2334
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Access with Domoticz app internally and externally?

Post by jvdz »

Antori91 wrote: Thursday 18 October 2018 15:20 it is OK if you don't use usual standard Web port (locally you can use standard web port like 8084 but declare/use unusual port in your router NAT rule). With this simple rule, you don't see anymore weird connection coming from Russia or another countries.
Keep on dreaming. ;)
I can assure you that you want to put proper security measures inplace as the "special" port will be known at some point and they will keep on hacking it until they have access.
So you really need to implement HTTPS and and some sort of either VPN or Fail2Ban to limit the number of failing attempts to access it from the internet.

just my 2 cents.
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
User avatar
Antori91
Posts: 136
Joined: Sunday 12 February 2017 17:12
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: France
Contact:

Re: Access with Domoticz app internally and externally?

Post by Antori91 »

I use VPN but for highly sensible data and services. My Domoticz server doesn't range (for me ) in this sensible category !

By the way:
- limit the number of login tries is a built-in feature of the Synology DSM Unix like,
- another built-in is a firewall with pre-built rules for example avoiding connection from one country or another and block the connection after a number of unsuccessful tries.

About https, where did you read that I don't use https? But may I ask you to explain how using https avoid to be hacked ? Because your web server use https, you think I can't connect to it and try to login. I'm not sure who is the dreamer ;-)
Domoticz High Availability Cluster: Synology Dz V4.10693 (Main) - Raspberry Dz V4.10717 (Backup) - Scripts Node.js
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest