LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Firewall/Iptables Help (https://www.linuxquestions.org/questions/linux-newbie-8/firewall-iptables-help-4175450591/)

mutt4xtreme 02-17-2013 08:40 PM

Firewall/Iptables Help
 
I'm on Slackware 14 and I'm tring to setup my firewall and etc. but the problem I am having is that when I run apf firewall, it can't find iptables. I have apf firewall all configured. Do I have to install iptables again, or do I have to point apf firewall to the right directory? Please help, and thanks.

kingbeowulf 02-18-2013 12:43 AM

iptables is in /usr/sbin and needs to be run as "root" so are you trying to run apf as a non-root user? Also, in conf.apf, did you check FWPATH?

mutt4xtreme 02-18-2013 08:45 PM

I am in root and where I guess iptables are supposed to be, it can't find the file.

kingbeowulf 02-19-2013 09:57 PM

Then there has to a config error. Make sure /usr/sbin contains iptables, iptables-save, iptables-restore and that apf knows that it is "iptables" and not another name. Also, are you trying to configure ip6tables?


All times are GMT -5. The time now is 06:46 PM.