LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2013, 09:40 PM   #1
mutt4xtreme
LQ Newbie
 
Registered: Jan 2013
Posts: 17

Rep: Reputation: Disabled
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.
 
Old 02-18-2013, 01:43 AM   #2
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.2 Slackware 14.2, Slackware{32,64}-current
Posts: 712

Rep: Reputation: 216Reputation: 216Reputation: 216
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?
 
Old 02-18-2013, 09:45 PM   #3
mutt4xtreme
LQ Newbie
 
Registered: Jan 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
I am in root and where I guess iptables are supposed to be, it can't find the file.
 
Old 02-19-2013, 10:57 PM   #4
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.2 Slackware 14.2, Slackware{32,64}-current
Posts: 712

Rep: Reputation: 216Reputation: 216Reputation: 216
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables firewall [ Help Me! ] 128 Linux - Networking 11 10-28-2012 07:31 PM
About iptables and firewall muralikris Linux - Newbie 1 09-21-2012 01:33 PM
Iptables with iptables-firewall.conf arno's matt3333 Slackware 16 06-28-2007 08:20 AM
rc.firewall to iptables ic_torres Linux - Security 12 03-13-2006 06:26 PM
IPTABLES firewall Vs rc firewall netguy2000 Linux - Security 7 02-28-2004 05:31 AM


All times are GMT -5. The time now is 08:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration