almost ready. now to harden
This commit is contained in:
parent
29cbf8b2d8
commit
e856c0dfb1
20 changed files with 539 additions and 58 deletions
14
services/dante.nix
Normal file
14
services/dante.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
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 ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue