No, I think I just accidentally added a line while copying it over, I just double checked it. [by joshh20]
I have issue with iptables it's not listing any newly added IPs. I tried both:
iptables -A INPUT -s 220.127.116.11 -j DROP
iptables -I INPUT -s 18.104.22.168 -j DROP
service iptables save
But when I'm listing iptables -L |grep 22.214.171.124 I don't see it in the list.
I can find the new IP in /etc/sysconfig/iptables but it's not listing when doing iptables -L.
Why are iptables LOG lines duplicated in the syslog?
If I remove the -j LOG line then I get no log.
iptables --new-chain IPTABLES-Rej
iptables -A IPTABLES-Rej -j LOG --log-prefix IPTABLES-Rej- '
iptables -A IPTABLES-Rej -j REJECT --reject-with icmp-host-prohibited
iptables -A INPUT -j IPTABLES-Rej -d 126.96.36.199
The lines in syslog look like (I added spaces in lin