Add local proxy

This commit is contained in:
Greg Hellings
2022-10-31 15:24:05 -05:00
parent eb80c86068
commit f32113b001
3 changed files with 27 additions and 1 deletions
+23
View File
@@ -49,4 +49,27 @@
greg.proxies."jellyfin.thehellings.lan".target = "http://localhost:8096";
greg.proxies."jellyfin.me.ts".target = "http://localhost:8096";
#########
# Blind service proxy behind the walls of the VPN
########
services._3proxy = {
enable = true;
services = [ {
type = "socks";
auth = [ "strong" ];
bindPort = 3128;
acl = [ {
rule = "allow";
users = [ "greg" ];
} ];
} ];
usersFile = "/run/agenix/3proxy";
denyPrivate = false;
};
age.secrets."3proxy" = {
file = ../../secrets/3proxy.age;
mode = "777";
};
networking.firewall.allowedTCPPorts = [ 3128 ];
}