[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sharing a network connection from debian to non-debian




On 16/1/21 3:02 pm, Dan Hitt wrote:
In 2016, i had a computer with mint on it (which is a form of ubuntu), and it was connected to an internet modem.  There was a super simple gui on it that i could use to share that connection with some older hardware that were not directly connected to the internet modem.  (They were not connected to the internet modem because for whatever reason, directly connecting them made them very unstable and prone to crash.) But, nevertheless, the old hardware could use the mint box with no configuration on my part, and get out to the internet through it.


Hi Dan, what you want to do, used to be called IP masquerading and pretty much everyone did it on their linux box to share their dial up connection to other computers on their lan. Now it seems to be called NAT network address translation and the possibilities of what you can do have multiplied tremendously, but the simple use case is still there.

From memory I used shorewall to configure iptables but it is pretty simple to do manually. And has the advantage of not having layers of complexity on top of it to debug if something goes wrong.

Here's a howto I found, old but it looks like it should still work


https://tldp.org/HOWTO/html_single/Masquerading-Simple-HOWTO/






dan

--
The Founding Fathers knew a government can't control the economy without controlling people. And they knew when a government sets out to do that, it must use force and coercion to achieve its purpose. So we have come to a time for choosing


Reply to: