aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2018-07-06 09:34:52 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2018-07-06 09:34:52 -0400
commita8abd88081fabbc9590dd33d413cd0a0641ef642 (patch)
tree379295500c4b0d36e99a76e03c8ab9d73c0b6b68 /README.md
parentMerge pull request #2033 from smitsohu/whitelist (diff)
downloadfirejail-a8abd88081fabbc9590dd33d413cd0a0641ef642.tar.gz
firejail-a8abd88081fabbc9590dd33d413cd0a0641ef642.tar.zst
firejail-a8abd88081fabbc9590dd33d413cd0a0641ef642.zip
--netmask option
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index 15234f80f..616930e8a 100644
--- a/README.md
+++ b/README.md
@@ -118,6 +118,19 @@ We also keep a list of profile fixes for previous released versions in [etc-fixe
118 $ firejail --net=eth0 --ip=192.168.1.80 --dns=8.8.8.8 firefox 118 $ firejail --net=eth0 --ip=192.168.1.80 --dns=8.8.8.8 firefox
119 $ firejail --net=wlan0 firefox 119 $ firejail --net=wlan0 firefox
120 120
121 --netmask=address
122 Use this option when you want to assign an IP address in a new
123 namespace and the parent interface specified by --net is not
124 configured. An IP address and a default gateway address
125 also have to be added. By default the new namespace interface
126 comes without IP address and default gateway configured. Exam‐
127 ple:
128
129 $ sudo /sbin/brctl addbr br0
130 $ sudo /sbin/ifconfig br0 up
131 $ firejail --ip=10.10.20.67 --netmask=255.255.255.0
132 --defaultgw=10.10.20.1
133
121 --nou2f 134 --nou2f
122 Disable U2F devices. 135 Disable U2F devices.
123 136