where is the sbin/iptables in centos 7 now?

Sergey

Verified User
Joined
Oct 29, 2016
Messages
20
Hi everybody,

Your help will be appreciated.
Somebody knows the path of /sbin/iptables in centos 7?
I want to create bash file /usr/local/csf/bin/csfpost.sh
I have to add this line /sbin/iptables -A INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT but i can not find /sbin and i receive errors.


Thank you in advance.
Sergey
 
Thanks for your quick reply.

There are 2 files in /usr/libexec/iptables:
ip6tables.init
and iptables.init

I found iptables in several places too but i'm not sure which is correct.
 
Back
Top