this post was submitted on 22 Oct 2024
352 points (97.1% liked)

Technology

59622 readers
2880 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 16 points 1 month ago (4 children)

I use Win10 for one single program only and I'm currently testing on how to take that machine offline, but still be accessible locally. So far all I got is a blacklist regex in pihole. Blocking internet access to that machine via my router does not work for me, as I dual boot that machine with Linux for gaming. Tips per DM are very welcome actually.

[–] [email protected] 15 points 1 month ago

Two options:

  • Change the DNS and gateway so they're pointing to 0.0.0.0
  • Give the Windows install a static IP or lease, and block that IP on the router
[–] [email protected] 12 points 1 month ago* (last edited 1 month ago)

Make Linux use a random MAC address, then block the physical MAC in the DHCP section of the router'e configuration. This will make Windows unablento recieve an IP address while Linux will be able to get ahold of one.

If windows uses tandom mac addresses, the feature should be able to be turned off.

Or, simply disable the network interfaces in Windows' control panel. I've never seen Windows reenable a network card by itself.

[–] [email protected] 7 points 1 month ago* (last edited 1 month ago)

Static IP on the windows machine in a jail'd subnet, if you still want to be able to access it from the LAN but don't want it to have internet access.

If you're happy with it not having any kind of network access (I'm not sure if when you say 'locally' you mean just physically, or it needs LAN as well), just disable the network adapter in windows.

[–] [email protected] 2 points 1 month ago

Maybe have a script change your local IP address? You could for instance change your IP after logging into Linux and change before powering off.