1lxc-usernet(5) lxc-usernet(5)
2
3
4
6 lxc-usernet - unprivileged user network administration file.
7
9 /etc/lxc/lxc-usernet controls the limits which the program lxc-user-nic
10 places on network interfaces which an unprivileged user may create.
11
12 CONFIGURATION
13 This file consists of multiple entries, one per line, of the form:
14
15 user type bridge number
16
17 or
18
19 @group type bridge number
20
21 Where
22
23 user is the username to whom this entry applies.
24
25 @group is the groupname to which this entry applies.
26
27 type is the type of network interface being allowed. Only veth is
28 currently supported.
29
30 bridge is the bridge to which the network interfaces may be attached,
31 for instance lxcbr0.
32
33 number is the number or quota of network interfaces of the given type
34 which the given user or group may attach to the given bridge,
35 for instance 2.
36
37 Since a user can be specified both by username as well as one or more
38 usergroups, it is possible that several configuration lines enable that
39 user to create network interfaces. In such cases, any interfaces create
40 are counted towards the quotas of the user or group in the order in
41 which they appear in the file. If the quota of one line is full, the
42 rest will be parsed until one is found or the end of the file.
43
45 lxc(1), lxc-user-nic(1)
46
48 Daniel Lezcano <daniel.lezcano@free.fr>
49
50
51
52 2022-07-21 lxc-usernet(5)