containers/fluorite: socks5 via tailscale
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
This commit is contained in:
parent
4b19491ec7
commit
20b5d96686
6 changed files with 33 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue