El 13/06/07, jesus erdeny andrade fandiño <[EMAIL PROTECTED]> escribió:

# que otras máquinas puedan salir a traves del firewall.
echo 1 > /proc/sys/net/ipv4/ip_forward

Sé que esto es lo que típicamente se hace, pero a mí me parece una
guarrada. Es mucho más elegante y mantenible editar el fichero
/etc/sysctl.conf:


 # Uncomment the next line to enable Spoof protection (reverse-path filter)
 net.ipv4.conf.default.rp_filter=1

 # Uncomment the next line to enable packet forwarding for IPv4
 #net.ipv4.ip_forward=1


PD: ¿Sabe alguien qué diferencia hay entre las siguientes opciones?
- net.ipv4.conf.default.forwarding
- net.ipv4.ip_forward
Resulta que por defecto en el ficheor sysctl.conf hablan de
descomentar la primera para permitir routing IP4, pero no lo he
probado.

--
Iñaki Baz Castillo
<[EMAIL PROTECTED]>

Responder a