summaryrefslogtreecommitdiffstats
path: root/src/man
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2018-06-09 07:57:32 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2018-06-09 07:57:32 -0400
commite62246a8a3e0e795a37535f9e41dffdfdfa9f77a (patch)
tree28b8c0b1667fd0170fa113c1bec90046a15ce6da /src/man
parentAppArmor: allow dbus access by default (diff)
downloadfirejail-e62246a8a3e0e795a37535f9e41dffdfdfa9f77a.tar.gz
firejail-e62246a8a3e0e795a37535f9e41dffdfdfa9f77a.tar.zst
firejail-e62246a8a3e0e795a37535f9e41dffdfdfa9f77a.zip
support wireless interfaces for --net
Diffstat (limited to 'src/man')
-rw-r--r--src/man/firejail.txt15
1 files changed, 8 insertions, 7 deletions
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
710$ 710$
711.TP 711.TP
712\fB\-\-mac=address 712\fB\-\-mac=address
713Assign MAC addresses to the last network interface defined by a \-\-net option. 713Assign MAC addresses to the last network interface defined by a \-\-net option. This option
714is not supported for wireless interfaces.
714.br 715.br
715 716
716.br 717.br
@@ -769,7 +770,7 @@ Enable a new network namespace and connect it to this bridge interface.
769Unless specified with option \-\-ip and \-\-defaultgw, an IP address and a default gateway will be assigned 770Unless specified with option \-\-ip and \-\-defaultgw, an IP address and a default gateway will be assigned
770automatically to the sandbox. The IP address is verified using ARP before assignment. The address 771automatically to the sandbox. The IP address is verified using ARP before assignment. The address
771configured as default gateway is the bridge device IP address. Up to four \-\-net 772configured as default gateway is the bridge device IP address. Up to four \-\-net
772bridge devices can be defined. Mixing bridge and macvlan devices is allowed. 773options can be specified.
773.br 774.br
774 775
775.br 776.br
@@ -786,22 +787,22 @@ $ sudo ifconfig br1 10.10.30.1/24
786$ firejail \-\-net=br0 \-\-net=br1 787$ firejail \-\-net=br0 \-\-net=br1
787 788
788.TP 789.TP
789\fB\-\-net=ethernet_interface 790\fB\-\-net=ethernet_interface|wireless_interface
790Enable a new network namespace and connect it 791Enable a new network namespace and connect it
791to this ethernet interface using the standard Linux macvlan 792to this ethernet interface using the standard Linux macvlan|ipvaln
792driver. Unless specified with option \-\-ip and \-\-defaultgw, an 793driver. Unless specified with option \-\-ip and \-\-defaultgw, an
793IP address and a default gateway will be assigned automatically 794IP address and a default gateway will be assigned automatically
794to the sandbox. The IP address is verified using ARP before 795to the sandbox. The IP address is verified using ARP before
795assignment. The address configured as default gateway is the 796assignment. The address configured as default gateway is the
796default gateway of the host. Up to four \-\-net devices can 797default gateway of the host. Up to four \-\-net options can be specified.
797be defined. Mixing bridge and macvlan devices is allowed.
798Note: wlan devices are not supported for this option.
799.br 798.br
800 799
801.br 800.br
802Example: 801Example:
803.br 802.br
804$ firejail \-\-net=eth0 \-\-ip=192.168.1.80 \-\-dns=8.8.8.8 firefox 803$ firejail \-\-net=eth0 \-\-ip=192.168.1.80 \-\-dns=8.8.8.8 firefox
804.br
805$ firejail \-\-net=wlan0 firefox
805 806
806.TP 807.TP
807\fB\-\-net=none 808\fB\-\-net=none