Re: multiple ppp connections
On Thu, Sep 04, 2003 at 02:24:35PM +0200, Sz?ts Róbert wrote:
> Does anyone know how can I put iptables firewall script onto a firewall where is more ppp connectoins?
> Expl.
>
> There is a firewall with two dsl connection the first is ppp0 the 2nd is the ppp1. It's clear.
>
> How can I build firewall If I do not know which dsl connection wil be the ppp0 or the ppp1?
See /etc/ppp/ip-up and /etc/ppp/ip-down they give an $PPP_IFACE to
scripts you will put in ip-up.d and ip-down.d
To be sure to get the same pppx to each connection see the parameter
"unit" for pppd. (put "unit 0" to /etc/ppp/peers/dsl-provider-0 and
"unit 1" to /etc/ppp/peers/dsl-provider-1).
--
Emmanuel Lacour ------------------------------------ Easter-eggs
44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 41 35 00 76
mailto:elacour@easter-eggs.com - http://www.easter-eggs.com
Reply to: