Remove cruft from firewall configuration

This commit is contained in:
coolneng 2020-12-22 14:49:32 +01:00
parent 06937cda1f
commit 2227161b31
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 0 additions and 4 deletions

View File

@ -31,8 +31,6 @@ in {
# Firewall configuration # Firewall configuration
networking.firewall = { networking.firewall = {
allowedTCPPorts = [ allowedTCPPorts = [
631 # Cups
6566 # SANE
80 # HTTP 80 # HTTP
443 # HTTPS 443 # HTTPS
53 # DNS 53 # DNS
@ -41,8 +39,6 @@ in {
1194 # Wireguard 1194 # Wireguard
53 # DNS 53 # DNS
]; ];
autoLoadConntrackHelpers = true;
connectionTrackingModules = [ "sane" ];
extraCommands = '' extraCommands = ''
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
''; '';