Remove cruft from firewall configuration
This commit is contained in:
parent
06937cda1f
commit
2227161b31
|
@ -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
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue