Remove cruft from firewall configuration
This commit is contained in:
parent
06937cda1f
commit
2227161b31
|
@ -31,8 +31,6 @@ in {
|
|||
# Firewall configuration
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [
|
||||
631 # Cups
|
||||
6566 # SANE
|
||||
80 # HTTP
|
||||
443 # HTTPS
|
||||
53 # DNS
|
||||
|
@ -41,8 +39,6 @@ in {
|
|||
1194 # Wireguard
|
||||
53 # DNS
|
||||
];
|
||||
autoLoadConntrackHelpers = true;
|
||||
connectionTrackingModules = [ "sane" ];
|
||||
extraCommands = ''
|
||||
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
|
||||
'';
|
||||
|
|
Loading…
Reference in New Issue