mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 20:50:15 +00:00
add iptables settings for oracle reboot
This commit is contained in:
9
modules/services/oracle.nix
Normal file
9
modules/services/oracle.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ 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