l 2 downloading: open ports for transmission
This commit is contained in:
parent
6bf12a65f5
commit
7fc5c721f4
|
@ -48,6 +48,7 @@ with lib;
|
||||||
rpc-username = "download";
|
rpc-username = "download";
|
||||||
#add rpc-password in secrets
|
#add rpc-password in secrets
|
||||||
rpc-password = "test123";
|
rpc-password = "test123";
|
||||||
|
peer-port = 51413;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -55,6 +56,8 @@ with lib;
|
||||||
enable = true;
|
enable = true;
|
||||||
tables.filter.INPUT.rules = [
|
tables.filter.INPUT.rules = [
|
||||||
{ predicate = "-p tcp --dport 9091"; target = "ACCEPT"; }
|
{ predicate = "-p tcp --dport 9091"; target = "ACCEPT"; }
|
||||||
|
{ predicate = "-p tcp --dport 51413"; target = "ACCEPT"; }
|
||||||
|
{ predicate = "-p udp --dport 51413"; target = "ACCEPT"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue