Have a look at /etc/ppp/ip-up and ip-down scripts they both export some env vars you may find useful when setting iptables rules.

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?

Any ideas?

Thanks
Robert






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to