mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-14 11:47:32 +00:00
nixos/routnerr-2: remove apcupsd and minecraft
Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
parent
56f712ecac
commit
06267a2384
2 changed files with 0 additions and 12 deletions
|
@ -113,8 +113,6 @@ in {
|
|||
reflector = true;
|
||||
};
|
||||
|
||||
apcupsd.enable = true;
|
||||
|
||||
lldpd.enable = true;
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
|
@ -125,7 +123,6 @@ in {
|
|||
};
|
||||
|
||||
prometheus.exporters = {
|
||||
apcupsd.enable = true;
|
||||
modemmanager.enable = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@ let
|
|||
http = "80";
|
||||
https = "443";
|
||||
mdns = "5353";
|
||||
minecraft = "25565";
|
||||
plex = "32400";
|
||||
ssh = "22";
|
||||
unifi_device = "8080";
|
||||
|
@ -247,12 +246,6 @@ in {
|
|||
}
|
||||
} tcp dport {${ports.ssh}, ${ports.consrv}} counter accept comment "IPv6 SSH"
|
||||
|
||||
# Minecraft running on server.
|
||||
ip daddr ${vars.server_ipv4} tcp dport ${ports.minecraft} counter accept comment "server TCPv4 Minecraft"
|
||||
ip6 daddr ${vars.server_ipv6} tcp dport ${ports.minecraft} counter accept comment "server TCPv6 Minecraft"
|
||||
ip daddr ${vars.server_ipv4} udp dport ${ports.minecraft} counter accept comment "server UDPv4 Minecraft"
|
||||
ip6 daddr ${vars.server_ipv6} udp dport ${ports.minecraft} counter accept comment "server UDPv6 Minecraft"
|
||||
|
||||
# Plex running on server.
|
||||
ip daddr ${vars.server_ipv4} tcp dport ${ports.plex} counter accept comment "server IPv4 Plex"
|
||||
ip6 daddr ${vars.server_ipv6} tcp dport ${ports.plex} counter accept comment "server IPv6 Plex"
|
||||
|
@ -297,14 +290,12 @@ in {
|
|||
|
||||
chain prerouting_wans {
|
||||
tcp dport {
|
||||
${ports.minecraft},
|
||||
${ports.plex},
|
||||
${ports.unifi_device},
|
||||
${ports.unifi_web},
|
||||
} dnat ${vars.server_ipv4} comment "server TCPv4 DNAT"
|
||||
|
||||
udp dport {
|
||||
${ports.minecraft},
|
||||
${ports.unifi_stun},
|
||||
} dnat ${vars.server_ipv4} comment "server UDPv4 DNAT"
|
||||
|
||||
|
|
Loading…
Reference in a new issue