Cosmin wrote:

> [...]
> I have received only five ip-s to use on my LAN: 81.196.166.98 - 102
> on netmask 255.255.255.248 but I have 15 computers. The rest of them
> use IP-s like 192.168.1.1 to 15
>
> I have configured the file /etc/init.d/firewall like this:
>
> iptables -t nat -I POSTROUTING -s 81.196.166.96/29 -o eth0 -j MASQUERADE
>
> iptables -t nat -I POSTROUTING -s 192.168.1.0/24 -o eth0 -j MASQUERADE

So why don't you just configure *all* the machines on your local network
to use IP addresses on the range 192.168.1.0/24? You're masquerading all
the outbound traffic anyway.

--
André Carezia
Eng. de Telecomunicações
Carezia Consultoria - www.carezia.eng.br





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to