LINUX.ORG.RU

История изменений

Исправление BitSum, (текущая версия) :

Для применения правил после загрузки системы у меня есть unit,

nano /etc/systemd/system/iptables-rules.service

[Unit]
Description = Import iptables rules

[Service]
RemainAfterExit=true
ExecStart=/root/iptables-rules
Type=oneshot

[Install]
WantedBy=multi-user.target

Исходная версия BitSum, :

Для правил у меня есть unit,

nano /etc/systemd/system/iptables-rules.service

[Unit]
Description = Import iptables rules

[Service]
RemainAfterExit=true
ExecStart=/root/iptables-rules
Type=oneshot

[Install]
WantedBy=multi-user.target