add a socks proxy to netbox

This commit is contained in:
stupidcomputer 2024-10-28 23:15:31 -05:00
parent 29e75e319f
commit 2b2db129b1
2 changed files with 15 additions and 0 deletions

View File

@ -20,6 +20,7 @@
./photoprism-bridge.nix
./grafana-bridge.nix
./prometheus.nix
./socks.nix
];
nix = {

14
boxes/netbox/socks.nix Normal file
View File

@ -0,0 +1,14 @@
{ lib, config, pkgs, ... }:
{
services._3proxy = {
enable = true;
services = [
{
type = "socks";
auth = [ "none" ];
bindAddress = "10.100.0.1";
bindPort = 3128;
}
];
};
}