Commit graph

3 commits

Author SHA1 Message Date
bobbypage
5e16644902 Remove need for running in privileged mode
To remove the need for running privileged mode, set the necessary
`net.ipv4.conf.all.src_valid_mark=1` sysctl via docker and modify the
`/usr/bin/wg-quick` script from setting the sysctl

* Set `net.ipv4.conf.all.src_valid_mark=1` sysctl via docker `--sysctl`

* Set CAPs of NET_ADMIN and SYS_MODULE instead of using `--privileged`

* Check that `net.ipv4.conf.all.src_valid_mark=1` is set in entrypoint
  script

Fixes #2
2020-09-13 01:16:45 +00:00
Jordan Potter
8cdbdd9bab Add killswitch 2019-05-12 22:21:16 -07:00
Jordan Potter
3d28131872 Add Dockerfile and entrypoint script 2019-02-14 12:03:36 -08:00