Hallo !
Meine Firewall startet nicht beim Booten, obwohl der entsprechende Dienst an ist. Gibt es eine alternative Art, das anzuschalten ?
iptables -L -v -n
iptables -L -v -n
systemctl status shorewall shorewall6 iptables -al
systemctl is-enabled shorewall shorewall6 iptables
[root@localhost ]# iptables -L -v -n
Chain INPUT (policy DROP 6202 packets, 1232K bytes)
pkts bytes target prot opt in out source destination
7285K 9670M ACCEPT 0 -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
6166 371K ACCEPT 0 -- lo * 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT 0 -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
Chain OUTPUT (policy ACCEPT 3915K packets, 1376M bytes)
pkts bytes target prot opt in out source destination
[root@localhost ]# systemctl status shorewall shorewall6 iptables -al
○ shorewall.service - Shorewall IPv4 firewall
Loaded: loaded (/usr/lib/systemd/system/shorewall.service; enabled; preset: enabled)
Active: inactive (dead) since Thu 2024-07-18 20:30:08 CEST; 17h ago
Duration: 7h 29min 54.395s
Process: 1220 ExecStart=/sbin/shorewall $OPTIONS start $STARTOPTIONS (code=exited, status=0/SUCCESS)
Process: 32260 ExecStop=/sbin/shorewall $OPTIONS stop (code=exited, status=0/SUCCESS)
Main PID: 1220 (code=exited, status=0/SUCCESS)
CPU: 84ms
Jul 18 20:30:08 localhost systemd[1]: Stopping shorewall.service...
Jul 18 20:30:08 localhost shorewall[32286]: Stopping Shorewall....
Jul 18 20:30:08 localhost shorewall[32286]: Processing /etc/shorewall/stop ...
Jul 18 20:30:08 localhost shorewall[32286]: Processing /etc/shorewall/tcclear ...
Jul 18 20:30:08 localhost shorewall[32286]: Preparing iptables-restore input...
Jul 18 20:30:08 localhost shorewall[32286]: Running /sbin/iptables-restore --wait 60...
Jul 18 20:30:08 localhost shorewall[32286]: Processing /etc/shorewall/stopped ...
Jul 18 20:30:08 localhost shorewall[32286]: done.
Jul 18 20:30:08 localhost systemd[1]: shorewall.service: Deactivated successfully.
Jul 18 20:30:08 localhost systemd[1]: Stopped shorewall.service.
○ shorewall6.service - Shorewall IPv6 firewall
Loaded: loaded (/usr/lib/systemd/system/shorewall6.service; disabled; preset: enabled)
Active: inactive (dead)
○ iptables.service - iptables Firewall for IPv4. Restores previous saved rules from /etc/sysconfig/iptables and restores rules from /etc/sysconfig/ipt>
Loaded: loaded (/usr/lib/systemd/system/iptables.service; enabled; preset: disabled)
Active: inactive (dead)
Condition: start condition failed at Thu 2024-07-18 20:30:08 CEST; 17h ago
└─ ConditionFileNotEmpty=/etc/sysconfig/iptables was not met
Jul 18 20:30:08 localhost systemd[1]: iptables.service was skipped because of an unmet condition check (ConditionFileNotEmpty=/etc/sysconfig/iptables).
[root@localhost ]# systemctl is-enabled shorewall shorewall6 iptables
enabled
disabled
enabled
Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast