On Feb 12, 2008 2:23 PM, Alain Spineux aspineux@gmail.com wrote:
On Feb 12, 2008 2:15 PM, Roilan Cardoso Sánchez neptuno_000@yahoo.es wrote:
Hello everybody, í'm want to create a maquerade for my lan in the firewall server I know i can use: iptables -t nat -A POSTROUTING -o external-interface -j MASQUERADE
just add --source option ( or --destination you didn't specified !) to the line above.
man iptables will help you
Regards.
PS: To make MASQUERADE works you need to allow forwarding between interface!
ops
echo "1" > /proc/sys/net/ipv4/ip_forward
but I want to use this nat only for some IPs
How can i restrict the nat maswuerade for an IP or Ip range?
regards Roilan
¿Con Mascota por primera vez? - Sé un mejor Amigo Entra en Yahoo! Respuestas.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Alain Spineux aspineux gmail com May the sources be with you