Internet Sharing with iptables? can it be done?
PROBLEM: I want to share internet conection in a small network, Server on Linux; clients on Windows XP and MAC.
I hope someone can help me!!!
First of all let me state that I'm a newbie in this Linux World.
I've got a Linux Box wit two Ethernet adapters:
eth0 Connected to a small lan (192.168.0.1) and
eth1 Connected to internet using a cablemodem
Both are working fine...
Client PC: Windows XP Pro with a static IP address (192.168.0.2)
Client MAC Mac OS 9.2x with a static IP address (192.168.0.3)
As for some reading done, i learned that I may need to use IPCHAINS to enable this feature, then I learn that have IPTABLES Runnig. then I learned that IPTABLES and IPCHAINS do not like each other.
Duiring this process I Tried to insert the module ipchains using modprobe and insmode and got errors that say that servive is busy.
My system is running IPTABLES by default. since I set the server with the frewall options.
Can I still share this internet trough my network?
HOW Can I do it using IPTABLES?
Need more info?
Let me know...