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

Re: ipmasq al inicio



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Si el archivo ya lo tienes en /etc/init.d/ipmasq con los permisos de
ejecución 755, entonces derrepente te falta hacer:

update-rc.d ipmasq defaults

para más información man update-rc.d

Saludos!

nmag only
_______________

Ignacio García Fernández escribió::
> Hola lista,
>
> Tengo configurado mi Debian para que haga
> ipmasquerading y poder acceder desde una subred. El problema es que al
> arrancar no se pone en marcha, y tengo que ejecutar la orden ipmasq como
> root.
>
> Os adjunto el fichero ipmasq que hay en /etc/init.d/
>
> Un saludo
>
> Ignacio
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> #!/bin/sh
> #
> # ipmasq.init	Set up IP Masquerading for Debian systems
> #
> #		v3.0 19 July 1998
>
> test -x /usr/sbin/ipmasq || exit 1
>
> case $1 in
> start|restart|force-reload)
> 	# Display 'whaddamidoing?' prompt
> 	echo -n "Initializing IP Masquerading..."
>
> 	# Setup ipmasq
> 	/usr/sbin/ipmasq
>
> 	# Display 'whaddamidoing?' prompt
> 	echo "done."
> 	;;
> stop)
> 	# Display 'whaddamidoing?' prompt
> 	echo -n "Disabling IP Masquerading..."
> 		
> 	# Setup ipmasq
> 	/usr/sbin/ipmasq --rules /etc/ipmasq/ipmasq-down
> 	
		
> 	# Display 'whaddamidoing?' prompt
> 	echo "done."
> 	;;
> esac
>


- --
nmag only
gnupg keyID: 0x8F6F6E58 [http://pgp.mit.edu/]
last update: 2003-04-15
fingerprint: FB75 3F34 7001 90B2 0DE6  45AC B89A E53B 8F6F 6E58
GNU/Linux Registered User #312624

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQE+xVTruJrlO49vblgRAnBoAJ0aiNEVaLNeyFY0mbXOJAzrJnPwFwCfavjU
8JH/JNmutL4yydRwOsOfOXc=
=qVJ9
-----END PGP SIGNATURE-----




Reply to: