l 2 downloading: open ports for transmission

This commit is contained in:
lassulus 2015-10-31 00:11:45 +01:00
parent 6bf12a65f5
commit 7fc5c721f4

View File

@ -48,6 +48,7 @@ with lib;
rpc-username = "download";
#add rpc-password in secrets
rpc-password = "test123";
peer-port = 51413;
};
};
@ -55,6 +56,8 @@ with lib;
enable = true;
tables.filter.INPUT.rules = [
{ predicate = "-p tcp --dport 9091"; target = "ACCEPT"; }
{ predicate = "-p tcp --dport 51413"; target = "ACCEPT"; }
{ predicate = "-p udp --dport 51413"; target = "ACCEPT"; }
];
};