This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Enable 3671 KNX IP port for maintenance
#1
I was thinking about an idea  Angel

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
Reply
#2
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
Reply
#3
(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
Reply
#4
(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
Reply
#5
@ Admin: Is iptables included in the system?
Reply
#6
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')
Reply
#7
(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
Reply
#8
Yes, but the loss is much shorter compared to reboot
Reply
#9
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
Reply
#10
Add require('uci') before any other code
Reply


Forum Jump: