diff --git a/boxes/netbox/default.nix b/boxes/netbox/default.nix index e4e099c..bacff45 100644 --- a/boxes/netbox/default.nix +++ b/boxes/netbox/default.nix @@ -20,6 +20,7 @@ ./photoprism-bridge.nix ./grafana-bridge.nix ./prometheus.nix + ./socks.nix ]; nix = { diff --git a/boxes/netbox/socks.nix b/boxes/netbox/socks.nix new file mode 100644 index 0000000..1c39eca --- /dev/null +++ b/boxes/netbox/socks.nix @@ -0,0 +1,14 @@ +{ lib, config, pkgs, ... }: +{ + services._3proxy = { + enable = true; + services = [ + { + type = "socks"; + auth = "none"; + bindAddress = "10.100.0.1"; + bindPort = 3128; + } + ]; + }; +}