mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2025-01-06 16:14:17 +00:00
fix: Remove lib.mkForce from allowed ports as it prevents SP modules from opening required ports
This commit is contained in:
parent
5bc89e3359
commit
bf299b19b8
|
@ -83,8 +83,8 @@ in
|
||||||
domain = config.selfprivacy.domain;
|
domain = config.selfprivacy.domain;
|
||||||
usePredictableInterfaceNames = false;
|
usePredictableInterfaceNames = false;
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedTCPPorts = lib.mkForce [ 22 25 80 143 443 465 587 993 4443 8443 ];
|
allowedTCPPorts = [ 22 25 80 143 443 465 587 993 4443 8443 ];
|
||||||
allowedUDPPorts = lib.mkForce [ 8443 10000 ];
|
allowedUDPPorts = [ 8443 10000 ];
|
||||||
extraCommands = ''
|
extraCommands = ''
|
||||||
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
|
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
|
||||||
iptables --append FORWARD --in-interface vpn00 -j ACCEPT
|
iptables --append FORWARD --in-interface vpn00 -j ACCEPT
|
||||||
|
|
Loading…
Reference in a new issue