linux-wifi-hotspot icon indicating copy to clipboard operation
linux-wifi-hotspot copied to clipboard

Disable access to internet

Open Lyton505 opened this issue 1 year ago • 2 comments

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

Lyton505 avatar May 01 '23 16:05 Lyton505

Would it not be easier to just use something like zerotier or tailscale to have them connect to you ?

wrobm2 avatar Jun 20 '23 15:06 wrobm2

@wrobm2 I managed to use lnxrouter to achieve that. The solutions you suggested also seem like good alternatives; thanks

Lyton505 avatar Jun 20 '23 18:06 Lyton505