forked from wurzel/fruitbasket
quitte: fix portunus
This commit is contained in:
parent
e3dd58a1f9
commit
943e208e3a
4 changed files with 34 additions and 7 deletions
|
@ -5,6 +5,7 @@
|
|||
defaultConfig = ''
|
||||
$FileCreateMode 0640
|
||||
:programname, isequal, "postfix" /var/log/postfix.log
|
||||
:programname, isequal, "portunus" /var/log/portunus.log
|
||||
|
||||
auth.* -/var/log/auth.log
|
||||
'';
|
||||
|
|
|
@ -12,13 +12,6 @@
|
|||
jvmOpts = "-Xmx8192M -Xms8192M";
|
||||
};
|
||||
};
|
||||
services.nginx.virtualHosts."map.mc.ifsr.de".extraConfig = ''
|
||||
allow 141.30.0.0/16;
|
||||
allow 141.76.0.0/16;
|
||||
allow 217.160.244.15/32; # jonas uptime kuma
|
||||
deny all;
|
||||
'';
|
||||
|
||||
networking.firewall = {
|
||||
extraInputRules = ''
|
||||
ip saddr { 141.30.0.0/16, 141.76.0.0/16, 217.160.244.15/32 } tcp dport 25565 accept comment "Allow minecraft access from TU network and jonas monitoring"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue