diff options
author | 2016-09-02 23:02:06 +0300 | |
---|---|---|
committer | 2016-09-02 23:02:06 +0300 | |
commit | d9cecb0bcceebdc48181978ea97c1d75d6da8a6f (patch) | |
tree | 4a119710c74d1fbc0d665dc4f7de4e6cce02f12a | |
parent | fix --join-network and --join-filesystem (diff) | |
download | firejail-d9cecb0bcceebdc48181978ea97c1d75d6da8a6f.tar.gz firejail-d9cecb0bcceebdc48181978ea97c1d75d6da8a6f.tar.zst firejail-d9cecb0bcceebdc48181978ea97c1d75d6da8a6f.zip |
update man
-rw-r--r-- | src/man/firejail.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/man/firejail.txt b/src/man/firejail.txt index 35b84b981..dbb0df233 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt | |||
@@ -578,19 +578,19 @@ $ firejail --net=eth0 --name=browser firefox & | |||
578 | .br | 578 | .br |
579 | # change netfilter configuration | 579 | # change netfilter configuration |
580 | .br | 580 | .br |
581 | $ sudo firejail --join-network=browser "cat /etc/firejail/nolocal.net | /sbin/iptables-restore" | 581 | $ sudo firejail --join-network=browser bash -c "cat /etc/firejail/nolocal.net | /sbin/iptables-restore" |
582 | .br | 582 | .br |
583 | 583 | ||
584 | .br | 584 | .br |
585 | # verify netfilter configuration | 585 | # verify netfilter configuration |
586 | .br | 586 | .br |
587 | $ sudo firejail --join-network=browser "/sbin/iptables -vL" | 587 | $ sudo firejail --join-network=browser /sbin/iptables -vL |
588 | .br | 588 | .br |
589 | 589 | ||
590 | .br | 590 | .br |
591 | # verify IP addresses | 591 | # verify IP addresses |
592 | .br | 592 | .br |
593 | $ sudo firejail --join-network=browser "ip addr" | 593 | $ sudo firejail --join-network=browser ip addr |
594 | .br | 594 | .br |
595 | Switching to pid 1932, the first child process inside the sandbox | 595 | Switching to pid 1932, the first child process inside the sandbox |
596 | .br | 596 | .br |