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

Script iptables /etc/ppp



Buongiorno a tutti

volevo un chiarimento, leggendo la documentazione del pacchetto ppp, ho creato uno script in /etc/ppp e l'ho nominato ip-pre-up p.s. Nella directory /etc/ppp il file ip-pre-up non esisteva , l'ho creato ex-novo
Creato lo script  iptables , ho reso lo script eseguibile (chmod + x ...)
il tutto funziona, mi chiedevo pero' se è corretta la procedura

n.b. tenete presente che ho un modem ethernet connesso alla wan con pppoeconf

Vi cito anche una parte del README del pacchetto ppp
What was new in ppp-2.4.4.
**************************

* Pppd will now run /etc/ppp/ip-pre-up, if it exists, after creating
 the ppp interface and configuring its IP addresses but before
 bringing it up.  This can be used, for example, for adding firewall
 rules for the interface.
Saluti ed attendo vs. opinioniGIAN


Reply to: