tf
Size: a a a
tf
N
/etc/iptables/iptables.rules
Потом говори, sudo systemctl enable --now iptables.service
tf
N
tf
trollface.ebuild
AM
AM
VP
Ты
по русски английски чтить не умеешь? Что первым комментом написано? Это шаблон. А вообще есть замечательное iptables-save
/ iptables-restore
tf
tf
tf
VP
$ systemctl cat iptables.service
# /usr/lib/systemd/system/iptables.serviceТак-то! Всё для людей! Достаточно просто открыть ман!
[Unit]
Description=IPv4 Packet Filtering Framework
Before=network-pre.target
Wants=network-pre.target
[Service]
Type=oneshot
ExecStart=/usr/bin/iptables-restore /etc/iptables/iptables.rules
ExecReload=/usr/bin/iptables-restore /etc/iptables/iptables.rules
ExecStop=/usr/lib/systemd/scripts/iptables-flush
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
LA
tf
LA
tf
LA