LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 08: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, 12:43 AM   #2
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,267
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
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, 08: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, 09:57 PM   #4
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,267
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
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



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 06:31 PM
About iptables and firewall muralikris Linux - Newbie 1 09-21-2012 12:33 PM
Iptables with iptables-firewall.conf arno's matt3333 Slackware 16 06-28-2007 07:20 AM
rc.firewall to iptables ic_torres Linux - Security 12 03-13-2006 05:26 PM
IPTABLES firewall Vs rc firewall netguy2000 Linux - Security 7 02-28-2004 04:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:14 AM.

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
Open Source Consulting | Domain Registration