I wonder how do you setup linknx.php (I mean mostly $linknx_host) so KnxWeb could be properly seen from LAN and also from WAN ?
I have it working as 192.168.0.1 from LAN, but this doesn't work from WAN, cause 192.168.0.1 is not valid from WAN... Setting it up to external IP, causes problem from LAN...
Any advice ?
Thanks in advance,
regards,
Bulek.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What do you mean with "this doesn't work from WAN"? Are you trying to run the same linknx.php script from different locations? On my system, I have linknx.php on the same machine as linknx application, and $linknx_host is set to 127.0.0.1 . The linknx.php script is running can be accessed from wan and from lan, just as any otherr web page on that web server.
The connection between linknx.php script and linknx application is not supposed to go via WAN because it has no security mechanism and anybody knowing your Ip address could access it and control your house.
That's the reason why I choose this solution using linknx.php script on a web server, because almost all web servers have access control mechanisms.
Regards,
Jean-François
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I wonder how do you setup linknx.php (I mean mostly $linknx_host) so KnxWeb could be properly seen from LAN and also from WAN ?
I have it working as 192.168.0.1 from LAN, but this doesn't work from WAN, cause 192.168.0.1 is not valid from WAN... Setting it up to external IP, causes problem from LAN...
Any advice ?
Thanks in advance,
regards,
Bulek.
Hi,
What do you mean with "this doesn't work from WAN"? Are you trying to run the same linknx.php script from different locations? On my system, I have linknx.php on the same machine as linknx application, and $linknx_host is set to 127.0.0.1 . The linknx.php script is running can be accessed from wan and from lan, just as any otherr web page on that web server.
The connection between linknx.php script and linknx application is not supposed to go via WAN because it has no security mechanism and anybody knowing your Ip address could access it and control your house.
That's the reason why I choose this solution using linknx.php script on a web server, because almost all web servers have access control mechanisms.
Regards,
Jean-François