containers/fluorite: socks5 via tailscale
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run

This commit is contained in:
Cilly Leang 2026-06-17 00:07:01 +10:00
parent 4b19491ec7
commit 20b5d96686
Signed by: cilly
GPG key ID: 6500251E087653C9
6 changed files with 33 additions and 3 deletions

View file

@ -4,6 +4,17 @@
networking.firewall.trustedInterfaces = [ "tailscale0" ];
networking.firewall.allowedUDPPorts = lib.mkIf (config.me.environment == "headless") [ 123 ];
networking.nat = {
enable = true;
internalInterfaces = [ "tailscaled0" ];
forwardPorts = [
{
sourcePort = 50300;
proto = "tcp";
destination = "100.67.2.101:50300";
}
];
};
services.tailscale = {
enable = true;
authKeyFile = config.age.secrets.tailscale_auth.path;