aboutsummaryrefslogtreecommitdiffstats
path: root/src/man/firejail-profile.txt
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kris7topher@gmail.com>2020-01-27 21:41:46 +0100
committerLibravatar Kristóf Marussy <kris7topher@gmail.com>2020-01-27 22:09:50 +0100
commit649bcd4bfbd7b24ec95873e97e3b5270d84ec374 (patch)
treee40147e73cb1a456d99125b9a3cc317e9400945a /src/man/firejail-profile.txt
parentFix unsigned comparison error (#3174) (diff)
downloadfirejail-649bcd4bfbd7b24ec95873e97e3b5270d84ec374.tar.gz
firejail-649bcd4bfbd7b24ec95873e97e3b5270d84ec374.tar.zst
firejail-649bcd4bfbd7b24ec95873e97e3b5270d84ec374.zip
Documentation for DHCP support
Diffstat (limited to 'src/man/firejail-profile.txt')
-rw-r--r--src/man/firejail-profile.txt53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt
index 719a80c2c..84aed41a4 100644
--- a/src/man/firejail-profile.txt
+++ b/src/man/firejail-profile.txt
@@ -582,6 +582,33 @@ net eth0
582ip none 582ip none
583 583
584.TP 584.TP
585\fBip dhcp
586Acquire an IP address and default gateway for the last interface defined by a
587net command, as well as set the DNS servers according to the DHCP response.
588This command requires the ISC dhclient DHCP client to be installed and will start
589it automatically inside the sandbox.
590.br
591
592.br
593Example:
594.br
595net br0
596.br
597ip dhcp
598.br
599
600.br
601This command should not be used in conjunction with the dns command if the
602DHCP server is set to configure DNS servers for the clients, because the
603manually specified DNS servers will be overwritten.
604
605.br
606The DHCP client will NOT release the DHCP lease when the sandbox terminates.
607If your DHCP server requires leases to be explicitly released, consider running
608a DHCP client and releasing the lease manually in conjunction with the
609net none command.
610
611.TP
585\fBip6 address 612\fBip6 address
586Assign IPv6 addresses to the last network interface defined by a net command. 613Assign IPv6 addresses to the last network interface defined by a net command.
587.br 614.br
@@ -594,6 +621,32 @@ net eth0
594ip6 2001:0db8:0:f101::1/64 621ip6 2001:0db8:0:f101::1/64
595 622
596.TP 623.TP
624\fBip6 dhcp
625Acquire an IPv6 address and default gateway for the last interface defined by a
626net command, as well as set the DNS servers according to the DHCP response.
627This command requires the ISC dhclient DHCP client to be installed and will start
628it automatically inside the sandbox.
629.br
630
631.br
632Example:
633.br
634net br0
635.br
636ip6 dhcp
637.br
638
639.br
640This command should not be used in conjunction with the dns command if the
641DHCP server is set to configure DNS servers for the clients, because the
642manually specified DNS servers will be overwritten.
643
644.br
645The DHCP client will NOT release the DHCP lease when the sandbox terminates.
646If your DHCP server requires leases to be explicitly released, consider running
647a DHCP client and releasing the lease manually.
648
649.TP
597\fBiprange address,address 650\fBiprange address,address
598Assign an IP address in the provided range to the last network 651Assign an IP address in the provided range to the last network
599interface defined by a net command. A default gateway is assigned by default. 652interface defined by a net command. A default gateway is assigned by default.