I’m just curious, what if I’d use my pi-hole to block all connections from/to China on my home network. I have a good bit of automation in place, but mostly western solutions, yet still I wouldn’t be surprised if they called China. Have any of you tried this kind of experiment? Is it even possible to block? What gone down?
Geoblocking is a pretty common practice in enterprise networking.
I block all inbound connections from China and Russia via GeoIP blocking in Opnsense and no one in my household has ever complained. Considering setting it up to blocking outgoing as well, but any Chinese device I’m suspicious of is already isolated from the WAN.
Well, just blocking incoming connections doesn’t add much value. Besides if you also block already established connections, but then it would be easier saying blocking outgoing traffic.
good to know this is an innate feature of opnsense
What’s more suspicious than Alexa or our phones? The "bad guys’ can do jack shit with our data but the “good guys” can fuck us up.
It’s a common feature in a lot of threat management software / firewall systems. Ubiquiti and pfSense both offer it off the top of my head. I’ve used both with no noticeable issues on smart / IOT devices.
I do this, the only problematic thing is the NTP request from my Philips Hue bridge.
If you aren’t running a server/service, the best option is generally to unwrap a tinfoil layer.
Hilariously, posts like these also generally involve users running 'windows chocolate fireguard ', and quite happy with that gaping inadequacy…🤣🤣🤣
Just put it on a seperate network, with no internet connection. Use a server as a passthrough, so you have control. Stay away from anythibg cloud based. Pretty easy stuff honestly.
I hadn’t thought of your concept. Thank you. I’ll go research it now
I block a handful of countries I just have no business interacting with. In and out. Doesn’t cause any problems. But you know Microsoft and Amazon aren’t checking ID before letting anyone put a server in one of their DCs? TikTok is all hosted on US servers but that doesn’t mean there isn’t a back door or a copy job sending the data off shore. So I go the extra distance to block a huge list of domestic and safe country international domains that I don’t want traffic going to or from.
Pretty sure you can block all the Chinese IPs and still disclose information to China. Discord for example is a massive business which China had heavily invested in. Part of their constitution is Chinese owned companies must disclose information.
go for it. we block everything except for US.
They will just use IP addresses from friendly countries by means of VPN.
I don’t bother with blocking individual countries. Sure I could just block the whole 210.0.0.0/6 but with ipv6 it becomes untenable and not to mention that once a bad actor successfully attacks someone in your home country, then they can use that machine as a springboard to attack you - and how can you discern the difference anymore?
Just need to do the best I can to ensure people don’t get in the usual ways…
All you’ll do is put a very small impediment in the path of the noobiest of script kiddies.
Absolutely anyone who is capable of working a web browser can easily use a VPN or compromised system to get around your IP address block.
I block the entire cn TLD (and the RU, PK, Top, biz, info, and IN TLDs) and haven’t had any issues.
I also go a step further and block all IPs in those geolocations in my Router.
The inbound connections will revert to bots in your region.
Wouldn’t they just exploit VPN strategy to get around these possible blocks? I assume they also assume these things and establish workarounds.
Most just rent US servers these days.

