I need to share the Internet connection of my Debian desktop to some other devices (a Mac Laptop, and an Android tablet).
The Debian desktop is connected to the local network via
eth0, and the rest of the devices are connected through a wireless network which, for some reason, doesn't allow internet connections. Of course, the desktop is connected to the internet.
The laptop and the tablet can "see" the Debian desktop (they can connect themselves through
ssh and see the desktop files using
I've been googling around, and I've found how to share (masquerade) the connection and make it available to any machine in the network... I would like to limit the access only to my devices (or a limited list of devices).
Is there a way to do that? If there is, can you point me in the right direction?