Hi.
My Domoticz is running on Raspberry Pi 3.
I have for internet access login name and password.
Now in the logfile I regular find :
Incoming connection from: 139.162.79.87 [ but also from other IP's].
How can I 'keep the system closed'? Is this dangerous?
KR
-Bart
how to get rit of intruders
Moderators: leecollings, remb0
-
- Posts: 395
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
how to get rit of intruders
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: how to get rit of intruders
Do not open domoticz port to internet and install a VPN to access to it.
Or check the domoticz wiki, there should be some articles regarding security.
Or check the domoticz wiki, there should be some articles regarding security.
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
- jvdz
- Posts: 2276
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: how to get rit of intruders
I am using Nginx as reverse proxy with a SSL connection and use Fail2Ban to monitor the Nginx logs and ban any connection after 2 failed tries. This way you run pretty secure.
You could also use the buildin SSL option, but never use the clear-text connection over port 8080 over the internet.
Jos
You could also use the buildin SSL option, but never use the clear-text connection over port 8080 over the internet.
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
- Egregius
- Posts: 2592
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: how to get rit of intruders
Fail2ban is the best option, I use it on my web server and on Domoticz.
And as Jos said, use ssl.
And as Jos said, use ssl.
-
- Posts: 660
- Joined: Thursday 10 November 2016 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: how to get rit of intruders
This kind of message is just a connection attempt, no login or even trying to do so.
You can't stop, for instance, web site indexing robots from trying to figure-out is there is something to index!
To avoid bruteforcers, fail2ban is a good option combined with a firewall to auto-buld temp rules to ban them.
-
- Posts: 317
- Joined: Thursday 12 January 2017 15:30
- Target OS: Linux
- Domoticz version: Beta Ch
- Location: Finland
- Contact:
Re: how to get rit of intruders
Can you post your fail2ban config on domoticz part ? What you have in filter file etc ?
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
- jvdz
- Posts: 2276
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: how to get rit of intruders
This is the fail2ban (jail.local) config I use in combination with an nginx proxy setup:
You have to update in the red marked items to your purpose:
The iptables-multiport.conf should come standard with fail2ban
The filters I use located in filters.d are:
nginx-auth.conf:
Jos
You have to update in the red marked items to your purpose:
- Spoiler: show
The iptables-multiport.conf should come standard with fail2ban
The filters I use located in filters.d are:
nginx-auth.conf:
- Spoiler: show
- Spoiler: show
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Who is online
Users browsing this forum: No registered users and 1 guest