Web Hosting Talk







View Full Version : apf firewall


window
03-09-2004, 01:09 AM
i've eddited my my conf.apf all correctly and when i try to start the apf
root@server1 [/etc/apf]# ./apf -r
./apf: line 1: ifconfig: command not found

does anyone can help me with this.. please :)

prohostedtec
03-09-2004, 01:18 AM
/sbin isn't in your PATH. If bash, PATH=${PATH}:/sbin ./apf -r

Regards,

Kris

window
03-09-2004, 01:28 AM
Originally posted by prohostedtec
/sbin isn't in your PATH. If bash, PATH=${PATH}:/sbin ./apf -r

Regards,

Kris
? can you explain this to a nob? in conf.apf i don't find that path defenition and going into /sbin ./apf-r don't work

prohostedtec
03-09-2004, 01:31 AM
From your shell prompt, copy and paste what I responded with and it should work without a hitch. Be sure to be in the directory where apf (the script) resides when doing this. Also, if you have AIM/ICQ, I can walk you through this if you'd like.

Regards,

Kris

window
03-09-2004, 01:35 AM
my aim is addinson2004

MADLaker
12-04-2004, 04:33 PM
type su - then restart the firewall.

Make sure su -