mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 17:20:13 +00:00
fix firewall issues with oracle
This commit is contained in:
@ -25,6 +25,9 @@ in {
|
||||
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
networking.firewall.allowedUDPPorts = [ 443 ];
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -37,8 +37,6 @@ in {
|
||||
}];
|
||||
}];
|
||||
|
||||
networking.firewall.interfaces.calibre = { allowedTCPPorts = [ 80 443 ]; };
|
||||
|
||||
# Create directory and set permissions
|
||||
system.activationScripts.calibreLibrary.text = ''
|
||||
if [ ! -d "${libraryPath}" ]; then
|
||||
|
@ -1,9 +0,0 @@
|
||||
{ pkgs, ... }: {
|
||||
|
||||
# Needs to be run at boot for Oracle firewall
|
||||
systemd.services.openIpTables = {
|
||||
script = "${pkgs.iptables}/bin/iptables -I INPUT -j ACCEPT";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
|
||||
}
|
Reference in New Issue
Block a user