14 lines
274 B
Nix
14 lines
274 B
Nix
{
|
|
services.dante = {
|
|
enable = true;
|
|
config = ''
|
|
internal: 0.0.0.0 port=1080
|
|
external: eth0
|
|
clientmethod: none
|
|
socksmethod: none
|
|
'';
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [1080];
|
|
networking.firewall.allowedUDPPorts = [1080];
|
|
}
|