aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar avoidr <avoidr@users.noreply.github.com>2016-04-06 23:22:04 +0200
committerLibravatar avoidr <avoidr@users.noreply.github.com>2016-04-06 23:22:04 +0200
commit8cbeea768037d6ec4dded7396734c9afdecadb0d (patch)
treeef9cb4037d029d5c3acce3c8d58582632f9f753e /src
parentprofile.c: add --net <iface> (diff)
downloadfirejail-8cbeea768037d6ec4dded7396734c9afdecadb0d.tar.gz
firejail-8cbeea768037d6ec4dded7396734c9afdecadb0d.tar.zst
firejail-8cbeea768037d6ec4dded7396734c9afdecadb0d.zip
firejail-profile.txt: add --net <iface>
Diffstat (limited to 'src')
-rw-r--r--src/man/firejail-profile.txt24
1 files changed, 22 insertions, 2 deletions
diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt
index b135ee615..ddfae5948 100644
--- a/src/man/firejail-profile.txt
+++ b/src/man/firejail-profile.txt
@@ -296,10 +296,30 @@ If a new network namespace is created, enabled default network filter.
296If a new network namespace is created, enabled the network filter in filename. 296If a new network namespace is created, enabled the network filter in filename.
297 297
298.TP 298.TP
299\fBnet bridge_interface
300Enable a new network namespace and connect it to this bridge interface.
301Unless specified with option \-\-ip and \-\-defaultgw, an IP address and a default gateway will be assigned
302automatically to the sandbox. The IP address is verified using ARP before assignment. The address
303configured as default gateway is the bridge device IP address. Up to four \-\-net
304bridge devices can be defined. Mixing bridge and macvlan devices is allowed.
305
306.TP
307\fBnet ethernet_interface
308Enable a new network namespace and connect it
309to this ethernet interface using the standard Linux macvlan
310driver. Unless specified with option \-\-ip and \-\-defaultgw, an
311IP address and a default gateway will be assigned automatically
312to the sandbox. The IP address is verified using ARP before
313assignment. The address configured as default gateway is the
314default gateway of the host. Up to four \-\-net devices can
315be defined. Mixing bridge and macvlan devices is allowed.
316Note: wlan devices are not supported for this option.
317
318.TP
299\fBnet none 319\fBnet none
300Enable a new, unconnected network namespace. The only interface 320Enable a new, unconnected network namespace. The only interface
301available in the new namespace is a new loopback interface (lo). 321available in the new namespace is a new loopback interface (lo).
302Use this option to deny network access to programs that don't 322Use this option to deny network access to programs that don't
303really need network access. 323really need network access.
304 324
305.TP 325.TP