Re: script firewall
On Sunday 21 September 2003 12:33, T. R. wrote:
> Ciao a tutti,
>
> ho inserito nella directory /etc/ppp/ip-up.d/ uno script che mi fa
> da firewall.
>
> Vorrei che non venisse eseguito immediatamente appena lancio il
> comando wvdial ma solo dopo che l' interfaccia ppp0 e' stata
> attivata. Come devo fare? Devo aggiungere qualcosa nello script?
vi /etc/ppp/ip-up:
This script is run by the pppd after the link is established.
# It uses run-parts to run scripts in /etc/ppp/ip-up.d, so to add
routes,
# set IP address, run the mailq etc. you should create script(s)
there.
quindi lo script dentro ip-up.d dovrebbe partire una volta che il link
e' attivo.
Reply to:
- Follow-Ups:
- unsubscribe
- From: "Willy Ferru" <willy.ferru@tiscali.it>