Re: OT: NAT inverso
| From: | jpt at isoft dot cl | Date: | Thu, 07 Feb 2002 12:09:44 +0000 |
| Subject: | Re: OT: NAT inverso | ||
| References: | 1 2 3 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-18905@lists.php.net to get a copy of this message | ||
Hola,
creo que la sintaxis seria algo asi como:
INET_IFACE = eth0
HTTP_IP = 200.200.200.200 (ip real)
$DMZ_HTTP_IP = 10.x.x.x
iptables -t nat -A PREROUTING -p TCP -i $INET_IFACE -d $HTTP_IP --dport 80 \
-j DNAT --to-destination $DMZ_HTTP_IP
eso..
en todo caso:
http://www.boingworld.com/workshops/linux/iptables-tutorial/iptables-
tutorial/iptables-tutorial.html#AEN1552
Salu2.
Jp.
Quoting Daniel BI <bignat@terra.es>:
> por fa, javier... eso me interesa a mi tambien. si lo consigues,
> dinos como lo has echo. yo tampoco he tenido mucho tiempo
> para estudiar el 'iptables' a fondo.
>
> de todas formas, sabras que la linea adsl es asimterica, y tendras
> tiempos mas lentos para las contestaciones de tu servidor.
>
> ----- Original Message -----
> From: "Javier Leyba" <xleyba@yahoo.com>
> To: "Lista PHP" <lista@phpes.com>
> Sent: Thursday, February 07, 2002 12:04 PM
> Subject: [PHP-ES] OT: NAT inverso
>
>
>
> Hola
>
> Tengo un server con una direccion interna 10.X.X.X y la red conectada a un
> router ADSL que tiene una IP publica. Necesito hacer NAT inverso de algunos
> puertos para que me vean de afuera y poder hacer algunas pruebas.
>
> Como hago ?
>
> Desde ya que el tema me interesa y me encantaria leer todos los manuales
> pero
> tengo que hacer pruebas en un rato y dudo que llegue....
>
> Respuestas por privado.
>
> Gracias
>
> <jl>
>
>
>
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> via news: news://news.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com
>
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/