Block all connections after inactivity?

Any other tech-related topics
Post Reply
Message
Author
User avatar
webfork
Posts: 10823
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Block all connections after inactivity?

#1 Post by webfork »

This seems like a simple thing and I know I've seen a freeware program that does something in this space, but is there a way to block all connections on a machine after being away from your machine. Like a screen saver but network saver?

I think a great way to beef up your security is to not have *ANY* connections when you're away. Might also save battery power.

While I'm writing down things on my xmas list, a "low power mode" / "low data mode" similar to mobile devices would be great. Something to pause automatic updates and background tasks.

Here's Intel's breakdown on the topic in case you have one of their network interface cards.
https://www.intel.com/content/www/us/en ... ducts.html

---

EDIT: Found it finally -- Tinywall will automatically block connections (viewtopic.php?p=101983#p101983). Does anyone else know of other tools in this space?

Ultra7ven
Posts: 6
Joined: Tue Dec 28, 2021 8:00 am

Re: Block all connections after inactivity?

#2 Post by Ultra7ven »

I'm using Net Disabler from https://www.sordum.org/. It is not automatic like a screensaver but It does the job perfectly.

In my case it is the last command I use when putting my PC in sleep mode as several years ago it would constantly resume sleep mode, probably because my network was being pinged/probed and the PC would wake-up.

it offers four ways of blocking :

by Network Adapter, DNS, Proxy, Windows firewall
+ selectively, combined, or all of them

freakazoid
Posts: 1212
Joined: Wed Jul 18, 2007 5:45 pm

Re: Block all connections after inactivity?

#3 Post by freakazoid »

As of Windows 8, Windows has an Airplane Mode, but it needs to be toggled manually.

There's an article on how to toggle Airplane Mode here:
https://www.windowscentral.com/how-enab ... windows-10

The registry cmd requires restarting so that's probably a no-go for a scripted solution.
is it stealth? ;)

User avatar
webfork
Posts: 10823
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Block all connections after inactivity?

#4 Post by webfork »

Ultra7ven wrote: Sun Feb 27, 2022 8:31 am I'm using Net Disabler from https://www.sordum.org/
Yeah now I guess the trick is to find a tool to launch after X minutes of inactivity and launch a batch file with NetDisabler.exe /D . I know I've seen at least two programs that will do that. Unfortunately upon returning to the computer it look like you'd have to manually restart with NetDisabler.exe /E.

It is a nice improvement that, unlike the other options, will shut down the network device rather than just engage firewall rules. I can imagine malware configuring some workaround in the firewall config, but the network device would be more difficult (and visible).

Thanks.

nox1399
Posts: 4
Joined: Thu Mar 03, 2022 2:19 am

Re: Block all connections after inactivity?

#5 Post by nox1399 »

Ultra7ven wrote: Sun Feb 27, 2022 8:31 am I'm using Net Disabler from https://www.sordum.org/. It is not automatic like a screensaver but It does the job perfectly.

In my case it is the last command I use when putting my PC in sleep mode as several years ago it would constantly resume sleep mode, probably because my network was being pinged/probed and the PC would wake-up.

it offers four ways of blocking :

by Network Adapter, DNS, Proxy, Windows firewall
+ selectively, combined, or all of them
I tried it in the past, didn't work for me dk why. Will try it again ig.

Radarowiec
Posts: 1
Joined: Thu Mar 17, 2022 11:56 am

Re: Block all connections after inactivity?

#6 Post by Radarowiec »

It's didn't work for me too. Nox have you tried again?

User avatar
webfork
Posts: 10823
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Block all connections after inactivity?

#7 Post by webfork »

is there a way to block all connections on a machine after being away from your machine. Like a screen saver but network saver?
Update here: I did sort of resolve this question finally with maybe an obvious solution. I let my machine go to sleep to stop *all* activity, including network. It's not exactly what I wanted but probably saves electricity in the long run.

Post Reply