13

some Debian flavors have this built into the WiFi GUI, but I'd like to learn a more generic option in the CLI or config files

sorry for the noob question, thanks for reading

all 12 comments
sorted by: hot top controversial new old
[-] Shadow@lemmy.ca 4 points 5 months ago

Just remove the gateway from the lan settings.

Or iptables, but that's more effort and a new tool to learn.

[-] blackberry@midwest.social 1 points 5 months ago

cool, thank you

[-] possiblylinux127@lemmy.zip 2 points 5 months ago

Are you sure you want to do it at the device level?

[-] sighofannoyance@lemmy.world 2 points 5 months ago

Purchase and install the firewall-software called iptables. It allows for precise configuration; e.g. blocking any connections to the wider web. May the FOSS be with you!

[-] archy@lemmy.world 5 points 5 months ago
[-] Zachariah@lemmy.world 5 points 5 months ago
[-] Stanley_Pain@lemmy.dbzer0.com 5 points 5 months ago

Purchase 🤔🥸?

[-] lka1988@sh.itjust.works 4 points 5 months ago

iptables is free....

[-] WolfLink@sh.itjust.works 1 points 4 months ago

AI generated comment? Or a joke that was received poorly?

[-] Eideen@lemmy.world 2 points 5 months ago

What are you trying to accomplish?

Parameter that can be change to not get direct internet:

  • submask to 0 (no routing)
  • no default route

Tools:

[-] napkin2020@sh.itjust.works 1 points 4 months ago

This is something that you want to do with the router, not that it's impossible...

this post was submitted on 01 Feb 2025
13 points (100.0% liked)

networking

3148 readers
1 users here now

Community for discussing enterprise networks and the ensuing chaos that comes after inheriting or building one.

founded 2 years ago
MODERATORS