diff options
author | netblue30 <netblue30@yahoo.com> | 2018-07-06 09:34:52 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2018-07-06 09:34:52 -0400 |
commit | a8abd88081fabbc9590dd33d413cd0a0641ef642 (patch) | |
tree | 379295500c4b0d36e99a76e03c8ab9d73c0b6b68 /README.md | |
parent | Merge pull request #2033 from smitsohu/whitelist (diff) | |
download | firejail-a8abd88081fabbc9590dd33d413cd0a0641ef642.tar.gz firejail-a8abd88081fabbc9590dd33d413cd0a0641ef642.tar.zst firejail-a8abd88081fabbc9590dd33d413cd0a0641ef642.zip |
--netmask option
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 | ||