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

networking

2901 readers
2 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

all 13 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 2 days ago

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

[–] [email protected] 4 points 5 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 5 days ago

cool, thank you

[–] [email protected] 2 points 4 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] 2 points 5 days ago

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