LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do you share your nic card in linux (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-you-share-your-nic-card-in-linux-684324/)

skaynum 11-18-2008 08:49 AM

How do you share your nic card in linux
 
How do you share your nic card in linux?Just like you do ICS in windows.

jlarsen 11-18-2008 09:24 AM

I'm not positive what part you are trying to set up - the gateway machine? To get you started look up ip_forwarding, iptables (looking at MASQUERADE, SNAT, DNAT), and maybe dhcpd. There is a lot more to say, but if you learn a little about those you can probably ask more specific questions.

skaynum 11-18-2008 09:34 AM

How do you share your nic card in linux
 
Ok,am talking about a scenario for instance i have a box connected to a wireless network and i would like another pc to share its connection.In windows that happens with ICS where by you share the WNIC.How does one go about it in linux.i.e share your WNIC card so it acts as a gateway for the other PC?

estabroo 11-18-2008 11:37 AM

I'm beginning to think nobody reads through the LQ tutorials these days.

http://www.linuxquestions.org/linux/...ection_sharing

skaynum 11-19-2008 04:34 PM

i think i must have forgotten a bit about the POSTROUTING chain and nat anyway thanks for that i can now go ahead with it.


All times are GMT -5. The time now is 02:27 AM.