diff options
author | Joris | 2020-08-31 15:46:18 +0200 |
---|---|---|
committer | Joris | 2020-08-31 15:49:07 +0200 |
commit | 767c66111b3cd424e48dc0b9a6a668d38be1e1a7 (patch) | |
tree | 81f5e0cd2bb9c95556b943e870de226d786ae942 /README.md | |
parent | ac98e378d9005668229c779917c2db960f6a8d60 (diff) | |
download | proxy-767c66111b3cd424e48dc0b9a6a668d38be1e1a7.tar.gz proxy-767c66111b3cd424e48dc0b9a6a668d38be1e1a7.tar.bz2 proxy-767c66111b3cd424e48dc0b9a6a668d38be1e1a7.zip |
Set up with a deny config file
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..9a7445a --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +# Proxy + +Proxy denying connections according to the given configuration. + +## Getting started + +```bash +nix-shell --run "cargo-watch -x run -- --config config.dhall" +``` + +## Example configuration + +```dhall +[ + { + from = "00:00", + to = "23:59", + hosts = [ + "facebook.com", + "gstatic.com" + ] + }, + { + from = "19:00", + to = "17:00", + hosts = [ + "youtube.com" + ] + } +] +``` |