Routing an IP class
I'm kind of noob in Linux and I need some help. Here is my problem. I have an Internet connection and a private network. Until a few days ago I only had one public IP. Now I have a class and i don't know how to route this class of IP's. I use Slack 8.1 and Kernel 2.4.24. My rc.firewall looks like this now:
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to my_current_IP
I want that 8 private IP's from my network to use one public IP(192.168.1.1-8 to use 1 public IP, etc) .
Like I said i'm noob, and if anyone can help me, to tell me what changes should I make, I would be very thankful.
Thank you in advance for your answers