How to keep device connected to lan but block its access to the cloud/web
I have an inverter and I managed to read its data into my smart home system using the modbus protocol. Now I want to keep being able to read its data, so keeping it connected to the lan and accessible by other devices, but block it from accessing the web/internet, so that the data is not sent to the cloud (as a matter of privacy).
From all that I could read my router seems to only be able to totally block the access of a device to the internet AND LAN via the advanced -> security -> access control tab. I would also say that the modbus query is on port 502 of the inverter. Any help in the form of a step-by-step solution is greatly appreciated
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Hi, you may try Service Filtering.With Service Filtering, you can prevent certain users from accessing the specified service, even block Internet access completely.
1. Log into the web-based interface via http://tplinkmodem.net
2. Go to Advanced >Security > MAC Filtering > enable Service Filtering>Select Service Type as Any(ALL) >Select Starting Port as 1, Ending Port as 65535 > then the IP address obtained by your smart home system may have no access to the internet.
- Copy Link
- Report Inappropriate Content
Hi, you may try Service Filtering.With Service Filtering, you can prevent certain users from accessing the specified service, even block Internet access completely.
1. Log into the web-based interface via http://tplinkmodem.net
2. Go to Advanced >Security > MAC Filtering > enable Service Filtering>Select Service Type as Any(ALL) >Select Starting Port as 1, Ending Port as 65535 > then the IP address obtained by your smart home system may have no access to the internet.
- Copy Link
- Report Inappropriate Content
Thanks Marvin. I might not have been clear, in that it's not the smarthome system that I want to block; that one is getting the data and storing it locally. It's the inverter which needs to be blocked from communicating with the exterior/cloud. I've managed to solve the issue by using a pi-hole raspberry to block the inverter, but I'll accept your solution as recommended nonetheless. I'm also writing below the complete step-by-step process for the benefit of everyone:
- In pi-hole user interface go to groups
- Create a new group, e.g. "block external" and click add.
-
Move to the clients tab, select the inverter in the known clients tab, assign it a name, e.g. "solax inverter", and click add
-
In the group assignment remove it from any default group and put it only in the block external group
-
Move to the domains tab, add a regex filter with the wildcard
.*
, comment "entire web" and add to blacklist -
Assign the previously defined "block external" group to the regex filter and restart your router.
-
voilá
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 226
Replies: 2
Voters 0
No one has voted for it yet.