[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]

[Hilos de Discusión] [Fecha] [Tema] [Autor]

[Sop.Tec.LinuxPPP] duda



Hola,

Si tengo habilitado el ip_forward y las reglas estan de la siguiente manera:

if [ "$SYSCTL" = "" ]
then
    echo "1" > /proc/sys/net/ipv4/ip_forward
else
    $SYSCTL net.ipv4.ip_forward="1"
fi


$IPT -A udp_inbound -p UDP -s 10.2.x.0/24 --source-port
68 --destination-port 67 -j ACCEPT
$IPT -t nat -A POSTROUTING -p tcp -s 10.2.x.0/24 -o eth0 -d 0/0 -j
MASQUERADE
$IPT -t nat -A POSTROUTING -p tcp -o eth0.1   -s 10.2.x.0/24 -j
SNAT --to-source 132.x.x.x

Saludos y  Gracias


Tienes habilitado

 echo 1 > /proc/sys/net/ipv4/ip_forward


Cuales reglas de IPTABLES estas usando?


Saludos

El vie, 10-06-2005 a las 13:33 -0500, Sandra Guzmán escribió:
> le asigna bien la ip dinamicamente
--
El sitio http://www.aguilareal.net  se ha renovado visitalo.....

                                       .'
            .------._                 ;
      .-"""`-.<')    `-._           .'
     (.--. _   `._       `'---.__.-'      Aguila Real.NET
      `   `;'-.-'         '-    ._  El Genesis de la Seguridad
        .--'``  '._      - '   .
         `""'-.    `---'    ,
 ''--..__      `\                      Cesar Peregrino
         ``''---'`\      .'
                   `'. '            aguila en aguilareal net
                     `'.        <http://www.aguilareal.net>


--__--__--

--
Lista de soporte de LinuxPPP
Dirección email de la lista: Linux en linuxppp com
Dirección web de la lista: http://mail.linuxppp.com/mailman/listinfo/linux
Reglas de la lista: http://linuxppp.net/reglas.html

End of Linux Digest




[Hilos de Discusión] [Fecha] [Tema] [Autor]