Code: Select all
commit ae72e179afa46d82865aa8d459b32cc27541e4a7
Author: Vladislav Grishenko <themiron@mail.ru>
Date: Mon Oct 30 17:27:22 2017 +0500
ppp: implement per-ctrl ppp interface rename support, may be overrided by radius
Reuse exsisting radius functionality and allow set iterface name
template for pppoe/pptp/l2tp, '%d' specification will be replaced
automagically to the next available index by kernel.
PPP interface rename allows to easy differ client's interfaces from
the other ppp ones, for example, with just netfilter interface rules.
Example:
[pptp]
ifname=pptp%d will produce pptp0, pptp1, ...
[pptp]
ifname=pptp%d
[l2tp]
ifname=l2tp%d
[pppoe]
ifname=pppoe%d