Incoming connection from unknown ip adress

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
MartenW
Posts: 11
Joined: Saturday 30 January 2016 22:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Location: Netherlands
Contact:

Incoming connection from unknown ip adress

Post by MartenW »

My Domoticz installation was, until now not secured with a user/password. Resulting in a hack and switching on lights in the middle of the night. The used ip numbers are from users in China.
A learning experience.
I have now secured my Domoticz / RaspberryPi installation but in the log I still see entry's from Chinese ip numbers with the notation incoming connection. My questions are:
are the Chinese still capable of fooling around with my devices.
And so yes, what to do to prevent this
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Incoming connection from unknown ip adress

Post by emme »

did you forward your Domoticz IP to the utside world?

to protect yourself you can install fail2ban on your rbpi (http://www.fail2ban.org/wiki/index.php/Main_Page)

if you have a programmable firewall and you are familiar with iptables, you can reject incoming connection from those IP you are quite sure are useless

I have a DD-WRT router and I have dropped an entire subnet from UCLA, Shangai, Taipei and Mumbay :P :P
The most dangerous phrase in any language is:
"We always done this way"
MartenW
Posts: 11
Joined: Saturday 30 January 2016 22:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Location: Netherlands
Contact:

Re: Incoming connection from unknown ip adress

Post by MartenW »

Thanks for the reply's.
Unfortunately no programmable firewall. However to drop networks, there are a lot, more than 20 different ip adresses (111/5/120/189/103 etc.etc.).
The only thing that worries me is of those vandals have put a backdoor in the os of the rpi. I don't know of that is possible with the active Domoticz application.
So, now busy with the creation of a vpn, to combine the rpi remote with a remote ftp server.
MartenW
Posts: 11
Joined: Saturday 30 January 2016 22:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Location: Netherlands
Contact:

Re: Incoming connection from unknown ip adress

Post by MartenW »

I was looking at the firewall of my internet provider, but never thougt about the firewall in the pi/raspbian. Thanks for the tip.
ayasystems
Posts: 66
Joined: Tuesday 19 April 2016 23:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Incoming connection from unknown ip adress

Post by ayasystems »

I'm using nignix to open my domoticz to Internet. Nginx only ask password from Internet. I have no problems with this setup

Regards
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest