Enable 3671 KNX IP port for maintenance - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Enable 3671 KNX IP port for maintenance (/showthread.php?tid=779) |
Enable 3671 KNX IP port for maintenance - domotiqa - 09.05.2017 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...) RE: Enable 3671 KNX IP port for maintenance - Erwin van der Zwart - 09.05.2017 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 RE: Enable 3671 KNX IP port for maintenance - domotiqa - 09.05.2017 (09.05.2017, 13:57)Erwin van der Zwart Wrote: Hi, 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 ? RE: Enable 3671 KNX IP port for maintenance - domotiqa - 22.06.2017 (09.05.2017, 14:41)domotiqa Wrote:Is there a way to do this ?(09.05.2017, 13:57)Erwin van der Zwart Wrote: Hi, RE: Enable 3671 KNX IP port for maintenance - Erwin van der Zwart - 22.06.2017 @ Admin: Is iptables included in the system? RE: Enable 3671 KNX IP port for maintenance - admin - 22.06.2017 You can enable/disable KNX/IP via event script: Code: enabled = event.getvalue() and 1 or 0 RE: Enable 3671 KNX IP port for maintenance - domotiqa - 26.06.2017 (22.06.2017, 08:38)admin Wrote: You can enable/disable KNX/IP via event script: Ok thanks for this great help. Just a doubt, it will stop KNX communication during few second right also on TP side ? RE: Enable 3671 KNX IP port for maintenance - admin - 26.06.2017 Yes, but the loss is much shorter compared to reboot RE: Enable 3671 KNX IP port for maintenance - domotiqa - 31.08.2017 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 RE: Enable 3671 KNX IP port for maintenance - admin - 01.09.2017 Add require('uci') before any other code |