linux-wifi-hotspot
linux-wifi-hotspot copied to clipboard
Disable access to internet
I'm trying to disable access to the internet on the hotspot devices. What I've tried doing to achieve this is to select the internet interface as lo
, wwan0
and eno2
, but hotspot devices still get internet access after that. I am connected to wifi on my wifi card(wlo1). wlo1
is also the wifi interface. What can I do to disable internet access for hotspot devices?
nb. I am sharing files using Samba using the hotspot and don't want the clients connected to my device to access the internet via me.
OS: Pop_OS
Would it not be easier to just use something like zerotier or tailscale to have them connect to you ?
@wrobm2 I managed to use lnxrouter to achieve that. The solutions you suggested also seem like good alternatives; thanks