From e62246a8a3e0e795a37535f9e41dffdfdfa9f77a Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sat, 9 Jun 2018 07:57:32 -0400 Subject: support wireless interfaces for --net --- src/man/firejail.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/man') diff --git a/src/man/firejail.txt b/src/man/firejail.txt index 1a90f403c..7d3cc89d8 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt @@ -710,7 +710,8 @@ $ firejail \-\-list $ .TP \fB\-\-mac=address -Assign MAC addresses to the last network interface defined by a \-\-net option. +Assign MAC addresses to the last network interface defined by a \-\-net option. This option +is not supported for wireless interfaces. .br .br @@ -769,7 +770,7 @@ Enable a new network namespace and connect it to this bridge interface. Unless specified with option \-\-ip and \-\-defaultgw, an IP address and a default gateway will be assigned automatically to the sandbox. The IP address is verified using ARP before assignment. The address configured as default gateway is the bridge device IP address. Up to four \-\-net -bridge devices can be defined. Mixing bridge and macvlan devices is allowed. +options can be specified. .br .br @@ -786,22 +787,22 @@ $ sudo ifconfig br1 10.10.30.1/24 $ firejail \-\-net=br0 \-\-net=br1 .TP -\fB\-\-net=ethernet_interface +\fB\-\-net=ethernet_interface|wireless_interface Enable a new network namespace and connect it -to this ethernet interface using the standard Linux macvlan +to this ethernet interface using the standard Linux macvlan|ipvaln driver. Unless specified with option \-\-ip and \-\-defaultgw, an IP address and a default gateway will be assigned automatically to the sandbox. The IP address is verified using ARP before assignment. The address configured as default gateway is the -default gateway of the host. Up to four \-\-net devices can -be defined. Mixing bridge and macvlan devices is allowed. -Note: wlan devices are not supported for this option. +default gateway of the host. Up to four \-\-net options can be specified. .br .br Example: .br $ firejail \-\-net=eth0 \-\-ip=192.168.1.80 \-\-dns=8.8.8.8 firefox +.br +$ firejail \-\-net=wlan0 firefox .TP \fB\-\-net=none -- cgit v1.2.3-54-g00ecf