Re: About NAT MAQUERADE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Feb 12, 2008 2:15 PM, Roilan Cardoso Sánchez <neptuno_000@xxxxxxxx> 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!

>
>
>
> 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@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux