• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

linux net sharing

warlord

Golden Member
I'm looking for an old thread that should have been archived by now, but for the life of me I can't find it. it was call "Here's how to build a linux net sharing box!!!!!!!!"

I have searched and searched, so if someone could link it, I'd appriciate it.
 
I was thinking about trying that too, but I wanted to learn more about linux. I have a box built and I remembered reading this thread, and I bookmarked it, but then it was archived, so I haven't been able to find it. thanks for the idea though.
 
man, after all the searching I've done, I found it. the weird thing is I know I tried the search this way before, but something must have been different cause I found it. 🙂
 
I copied and pasted the instructions when I saw that thread, and saved it into a text file...

Here you go:
1. Install redhat linux 6.2, xwindows not necessary.

2. Configure your two nics. One nic should be for your LAN, one for the cable modem/DSL. Type "linuxconf" to do this.

3. Append the following 3 lines to the end of your /etc/rc.d/rc.local file
ipchains -P forward DENY
ipchains -A forward -i eth0(or whatever your modem interface is called) -j MASQ
echo 1 > /proc/sys/net/ipv4/ip_forward

4. type "/etc/rc.d/rc.local"

5. that's it! have fun sharing your connection off a linux box. should be pretty secure since no requests into the lan will be accepted. if you want a webserver inside the LAN , you will need ipmasqadm. Go to www.linux.org for more info on this.

Hope this helps!
 
Back
Top