diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -91,13 +91,13 @@ Each user has any number of named whitelists, in ```sh fc-egress list -fc-egress allow cache.nixos.org # the domain and its subdomains -fc-egress allow github.com/NixOS/ # only paths starting with /NixOS/ +fc-egress allow https://cache.nixos.org # the domain and its subdomains +fc-egress allow https://github.com/NixOS/ # only paths starting with /NixOS/ fc-egress allow tcp://192.0.2.7:22 # plain TCP to that address and port fc-egress allow tcp://git.example.org:22 # or name (resolved by the host) fc-egress allow udp://192.0.2.0/24:5000-5100 -fc-egress deny github.com/NixOS/ -fc-egress -l work allow example.com # the list "work" +fc-egress deny https://github.com/NixOS/ +fc-egress -l work allow https://example.com # the list "work" fc-egress lists fc-egress log -f ``` @@ -107,11 +107,11 @@ VMs), and uses one list: the one given with `--egress`, else the one named like the VM, else (no name) `default`: ```sh -fc-egress -l box allow cache.nixos.org +fc-egress -l box allow https://cache.nixos.org ./result/bin/run-firecracker-vm --name box # list box ./result/bin/run-firecracker-vm --name box2 --egress box # list box, too fc-egress vms # running VMs: tap (as in the log), name, list -fc-egress -v box allow example.org # the list box uses +fc-egress -v box allow https://example.org # the list box uses fc-egress use box default # switch box to another list ``` |
