mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
listen on common DB ports
This commit is contained in:
parent
7a0503a91c
commit
f06354212d
1 changed files with 2 additions and 2 deletions
|
|
@ -44,12 +44,12 @@
|
|||
ExecStart = "${lib.getExe (pretense {inherit pkgs;})}";
|
||||
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
|
||||
Environment = [
|
||||
"PRETENSE_PORTS=23"
|
||||
"PRETENSE_PORTS=23,3306,5432,1521" # telnet,mysql,postgres,oracle
|
||||
"PRETENSE_METRICS_PORT=9150"
|
||||
];
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ 23 ];
|
||||
networking.firewall.allowedTCPPorts = [ 2 3306 5432 1521 ];
|
||||
|
||||
# monitoring
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue