• 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.

Please help me set up Linux to share an internet connection

Electrode

Diamond Member
Hi. About a month ago, I made the decision to replace Windows 2000 Advanced Server with Slackware Linux 8.0 as my server comp's OS. The backup went perfectly and Slackware installed without a hitch.

The problem came when I tried to share my cable internet connection. For one thing, Slackware didn't come with dhcpcd or any other decent dhcp client, so I had no way to get online. Second, even if I could get online, I haven't the slightest idea how to share it!

Long story short, I installed Mandrake 8.0 as a "bailout". It's been working OK for about 3 weeks, but I don't like Mandrake. I want to get Slackware set up as soon as I can.

I have downloaded dhcpcd, so I should be able to get online without any problems, but I STILL don't know how to share the connection.


The above info doesn't really have any purpose, just some background info. The important info is probably this:

Distro: Slackware 8.0
Kernel version: 2.4.17 (or maybe 2.4.18-pre3)
Network cards:
eth0: Internet (3com EtherLink XL)
eth1: LAN (Realtek RTL8139)

eth0 uses DHCP, while eth1 has a static IP: 192.168.0.1

If you need any other info, say so.
 
You will probably have to recompile your kernel if you want iptables support, unless you already did that. But ip forwarding should be one of the few things you have to turn on to get it to work. Do a search here on how to do it or check out linuxdoc.org (netfilter.samba.org for iptables info).
 
there is a thread of mine that should help you out alot, do a search, its only a day or two old.

you have to turn on ip forwarding and also set up iptables, i still dont have a firm grasp on writing my own iptables script, thats where i'm stalled at😱
 
Back
Top