/etc/iptables.conf
contains a rule to dump my outgoing packets to 10.199 network as,
*filter
:INPUT ACCEPT [122:9273]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [73:8165]
-A OUTPUT -d 10.199.48.0/24 -j REJECT --reject-with icmp-port-unreachable
COMMIT
To ensure, these rules are added on every machine boot, i have added this rule in /etc/rc.local
as,
iptables-restore < /etc/iptables.conf
But on every bootup, the iptables are not loaded with this new rule. I am using Centos 7.0.1406.
This instructions i am following from this post.
10.199.x.x
network or10.199.48.x
network? Because the rules says/24
! Just asking....