Web Hosting Talk







View Full Version : APF firewall URGENT Please Help !


LoganNZ
05-03-2004, 11:34 PM
Hi

I have apf firewall installed .

I cannot access my server , on any port - no response - time out .

other people can access the server , but when i get some one to flush the firewall , i can then access the server like a dream ....

The firewall seems to be blocking me every night .

How do i fix this?

Thanks in advance .

scooterh
05-03-2004, 11:37 PM
cd to /etc/apf and check the deny file to see if your ip is in there. if it is, remove your ip/network from that file and then apf -r

LoganNZ
05-03-2004, 11:44 PM
ok , but can apf add my ip again?

How do i stop apf from adding me , to this deny list?

Thanks

scooterh
05-03-2004, 11:47 PM
you can type apf -a yourip and it will add to the allow list, then shouldn't block you.

Steven
05-03-2004, 11:48 PM
did you remove your self from the deny list. if you flush iptables, apf will restart blocking you again

LoganNZ
05-03-2004, 11:50 PM
:O Steve , heard about your cable probs , sorry to hear that man :(

So as soon as i remove my self from the deny list , will it add me againto the deny list?

Thanks

Steven
05-03-2004, 11:54 PM
LoganNZ,

edit

/etc/apf/deny_host.rules

remove your ip

apf -r

that should work. you probably were blocked by BFD.


about my cable its real screwed up atm, ssh is very laggy. and i dial up speed website =x

LoganNZ
05-03-2004, 11:57 PM
You wonna cruise over here to NZ :P and use mah net

lolz

jsen
05-04-2004, 03:44 AM
Can we add wildcard in deny or allow lists?
Like 66.34.5.* or 69.2.6.


Searched for it but can't seem to find any.

LoganNZ
05-04-2004, 03:57 AM
i would say you can , i have with my ip etc 222.* and it seems to be working :)