diff options
author | netblue30 <netblue30@yahoo.com> | 2018-06-09 07:57:32 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2018-06-09 07:57:32 -0400 |
commit | e62246a8a3e0e795a37535f9e41dffdfdfa9f77a (patch) | |
tree | 28b8c0b1667fd0170fa113c1bec90046a15ce6da /src/man | |
parent | AppArmor: allow dbus access by default (diff) | |
download | firejail-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.txt | 15 |
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 |
713 | Assign MAC addresses to the last network interface defined by a \-\-net option. | 713 | Assign MAC addresses to the last network interface defined by a \-\-net option. This option |
714 | is 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. | |||
769 | Unless specified with option \-\-ip and \-\-defaultgw, an IP address and a default gateway will be assigned | 770 | Unless specified with option \-\-ip and \-\-defaultgw, an IP address and a default gateway will be assigned |
770 | automatically to the sandbox. The IP address is verified using ARP before assignment. The address | 771 | automatically to the sandbox. The IP address is verified using ARP before assignment. The address |
771 | configured as default gateway is the bridge device IP address. Up to four \-\-net | 772 | configured as default gateway is the bridge device IP address. Up to four \-\-net |
772 | bridge devices can be defined. Mixing bridge and macvlan devices is allowed. | 773 | options 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 |
790 | Enable a new network namespace and connect it | 791 | Enable a new network namespace and connect it |
791 | to this ethernet interface using the standard Linux macvlan | 792 | to this ethernet interface using the standard Linux macvlan|ipvaln |
792 | driver. Unless specified with option \-\-ip and \-\-defaultgw, an | 793 | driver. Unless specified with option \-\-ip and \-\-defaultgw, an |
793 | IP address and a default gateway will be assigned automatically | 794 | IP address and a default gateway will be assigned automatically |
794 | to the sandbox. The IP address is verified using ARP before | 795 | to the sandbox. The IP address is verified using ARP before |
795 | assignment. The address configured as default gateway is the | 796 | assignment. The address configured as default gateway is the |
796 | default gateway of the host. Up to four \-\-net devices can | 797 | default gateway of the host. Up to four \-\-net options can be specified. |
797 | be defined. Mixing bridge and macvlan devices is allowed. | ||
798 | Note: wlan devices are not supported for this option. | ||
799 | .br | 798 | .br |
800 | 799 | ||
801 | .br | 800 | .br |
802 | Example: | 801 | Example: |
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 |