Readme
authorRobert Swiecki <robert@swiecki.net>
Mon, 29 May 2017 16:08:23 +0000 (18:08 +0200)
committerRobert Swiecki <robert@swiecki.net>
Mon, 29 May 2017 16:08:23 +0000 (18:08 +0200)
README.md

index 3ea0b722460bf8d6a728076ec70b518c6f947e75..9b556c80179a819b6e860b5845c8e30957056139 100644 (file)
--- a/README.md
+++ b/README.md
@@ -291,12 +291,25 @@ $ ./nsjail --config configs/home-documents-with-xorg-no-net.cfg -- /usr/bin/mupd
 
 ***
 
-The [configs/firefox-with-net.cfg](https://github.com/google/nsjail/blob/master/configs/firefox-with-net.cfg) config file will allow you to run firefox in a  sandboxed environment:
+The [configs/firefox-with-net.cfg](https://github.com/google/nsjail/blob/master/configs/firefox-with-net.cfg)
+config file will allow you to run firefox inside a sandboxed environment:
 
 <pre>
 $ ./nsjail --config configs/firefox-with-net.cfg
 </pre>
 
+A more complex setup, which utilizes virtualized (cloned) Ethernet
+interfaces (to separate it from the main network namespace), can be
+found in [configs/firefox-with-cloned-net.cfg](https://github.com/google/nsjail/blob/master/configs/firefox-with-cloned-net.cfg).
+Remember to change relevant UIDs and Ethernet interface names before use.
+
+As using cloned Ethernet interfaces (MACVTAP) required root privileges, you'll
+have to run it under sudo:
+
+<pre>
+$ sudo ./nsjail --config configs/firefox-with-cloned-net.cfg
+</pre>
+
 ***
 ### More info