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

networking

2779 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
 

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

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 day ago

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

[–] Eideen 2 points 3 days 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:

[–] [email protected] 4 points 3 days ago (1 children)

Just remove the gateway from the lan settings.

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

[–] [email protected] 1 points 3 days ago

cool, thank you

[–] [email protected] 2 points 3 days ago

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

[–] sighofannoyance -5 points 4 days ago (5 children)

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!

[–] [email protected] 1 points 21 minutes ago

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

[–] archy 6 points 3 days ago (1 children)
[–] [email protected] 3 points 3 days ago

Yes, I'm perfectly happy to sell a subscription to iptables for just $3.99/mo. PM me to arrange payment.

[–] [email protected] 6 points 3 days ago

Purchase 🤔🥸?

[–] Zachariah 6 points 3 days ago
[–] [email protected] 3 points 3 days ago

iptables is free....