Hello
Is it possible to password protect the web interface of QLC+ please?
I need to connect Raspberry Pi machine to corporate network and block web access.
Thank you
Password protecting QLC+ web interface?
- mcallegari
- Posts: 4712
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
Hi, at the moment there isn't such functionality, sorry.
Maybe you can give the RPi a static IP address outside the corporate network mask, reachable only with a specific route that you can set only when needed.
Maybe you can give the RPi a static IP address outside the corporate network mask, reachable only with a specific route that you can set only when needed.
- MontyZuma
- Posts: 39
- Joined: Sat Apr 01, 2017 11:11 am
- Real Name: Klaus Muth
Since you are running Linux on Pi you could use iptables to restrict web access to your management station:
The first rule (replace <your_ip> with the IP of your management station!) jumps directly to ACCEPT - allowing the computer with this IP to connect and communicate with port 9999. All other computers do not match that rule so that they hit the second rule - which is to deny any communication on port 9999 (and answer any try with an ICMP Port Denied Message).
Since you wrote you are in a corporate network I hope all IPs are fixed - so you could add a startup script containing those two lines.
I don't have the time to test that now - but it's so simple that I'm pretty sure it will work. If you're intrested in packet filtering, read the full documentation on netfilter/iptables on http://www.netfilter.org/documentation/ ... HOWTO.html
If not, I'm sure those two lines will suffice .
klaus
Code: Select all
iptables -A INPUT -p tcp --dport 9999 -s <your_ip> -j ACCEPT
iptables -A INPUT -p tcp --dport 9999 -j DENY
Since you wrote you are in a corporate network I hope all IPs are fixed - so you could add a startup script containing those two lines.
I don't have the time to test that now - but it's so simple that I'm pretty sure it will work. If you're intrested in packet filtering, read the full documentation on netfilter/iptables on http://www.netfilter.org/documentation/ ... HOWTO.html
If not, I'm sure those two lines will suffice .
klaus