admin Site Admin
Joined: 23 Jan 2003 Posts: 256 Location: India
|
Posted: Sat Sep 03, 2005 4:28 am Post subject: Delete IP's from APF firewall ? |
|
|
When you block an IP or range of IP's on your server with APF Firewall, it will get stored in a file
/etc/apf/deny_hosts.rules
You can edit this file with vi or any other text editor and remove the IP's you want. You can also do this with -d option.
APF Firewall commands
| Quote: |
# /usr/local/sbin/apf
APF version 0.9.4 <apf@r-fx.org>
Copyright (C) 1999-2004, R-fx Networks <proj@r-fx.org>
Copyright (C) 2004, Ryan MacDonald <ryan@r-fx.org>
This program may be freely redistributed under the terms of the GNU GPL
usage /usr/local/sbin/apf [OPTION]
-s|--start ............. load firewall policies
-r|--restart ........... flush & load firewall
-f|--flush|--stop ...... flush firewall
-l|--list .............. list chain rules
-st|--status ........... firewall status
-a HOST|--allow HOST ... add host (IP/FQDN) to allow_hosts.rules and
immediately load new rule into firewall
-d HOST|--deny HOST .... add host (IP/FQDN) to deny_hosts.rules and
immediately load new rule into firewall
|
_________________ HostOnNet.com - Reseller Hosting
Free Ads Forum, Promote your site
NetFreeHost.com - Free Web Hosting, phpBB Hosting |
|