Posts: 264
Threads: 39
Joined: Feb 2016
Reputation:
1
I was thinking about an idea
Is it possible to enable the IP port 3671 with an icon on the visualisation.
For example, we port forward (without VPN) the 3671 port trhough Internet, but the customer can enable it/ disable it only when we needed maintenance !
Should be cool and "safe" (because it don't stay too much time enable, maybe watchdog...)
-----------
FRANCE SMARTHOME & SMARTBUILDING INTEGRATION
SE ECO EXPERT
Posts: 1764
Threads: 6
Joined: Jul 2015
Reputation:
117
09.05.2017, 13:57
(This post was last modified: 09.05.2017, 14:01 by Erwin van der Zwart.)
Hi,
Why don't you use a IP based forwarding instead of a 0.0.0.0 ?
This way only connections from that location are accepted.
Safest way and you can keep the port open if needed.
BR,
Erwin
Posts: 264
Threads: 39
Joined: Feb 2016
Reputation:
1
(09.05.2017, 13:57)Erwin van der Zwart Wrote: Hi,
Why don't you use a IP based forwarding instead of a 0.0.0.0 ?
This way only connections from that location are accepted.
Safest way and you can keep the port open if needed.
BR,
Erwin
Yes you'r wright, however, every internet box doesn't allow this.
In my exemple, the suctomer has the feeleing to control when I can access, and it's more flexible.
Do you know if it's possible ?
-----------
FRANCE SMARTHOME & SMARTBUILDING INTEGRATION
SE ECO EXPERT
Posts: 264
Threads: 39
Joined: Feb 2016
Reputation:
1
(09.05.2017, 14:41)domotiqa Wrote: (09.05.2017, 13:57)Erwin van der Zwart Wrote: Hi,
Why don't you use a IP based forwarding instead of a 0.0.0.0 ?
This way only connections from that location are accepted.
Safest way and you can keep the port open if needed.
BR,
Erwin
Yes you'r wright, however, every internet box doesn't allow this.
In my exemple, the suctomer has the feeleing to control when I can access, and it's more flexible.
Do you know if it's possible ?
Is there a way to do this ?
-----------
FRANCE SMARTHOME & SMARTBUILDING INTEGRATION
SE ECO EXPERT
Posts: 1764
Threads: 6
Joined: Jul 2015
Reputation:
117
@ Admin: Is iptables included in the system?
Posts: 264
Threads: 39
Joined: Feb 2016
Reputation:
1
(22.06.2017, 08:38)admin Wrote: You can enable/disable KNX/IP via event script:
Code:
enabled = event.getvalue() and 1 or 0
uci.set('eibd.@eibd[0].knxip=' .. enabled)
uci.commit('eibd')
os.execute('/etc/init.d/eibd restart')
Ok thanks for this great help.
Just a doubt, it will stop KNX communication during few second right also on TP side ?
-----------
FRANCE SMARTHOME & SMARTBUILDING INTEGRATION
SE ECO EXPERT
Posts: 7773
Threads: 42
Joined: Jun 2015
Reputation:
447
Yes, but the loss is much shorter compared to reboot
Posts: 264
Threads: 39
Joined: Feb 2016
Reputation:
1
I have an error
Journal d'erreurs 31.08.2017 23:06:56
User script:2: attempt to index global 'uci' (a nil value)
stack traceback:
User script:2: in main chunk
-----------
FRANCE SMARTHOME & SMARTBUILDING INTEGRATION
SE ECO EXPERT
Posts: 7773
Threads: 42
Joined: Jun 2015
Reputation:
447
Add require('uci') before any other code