Hello,
I just setup APF, everything was fine but at starting APF I am getting the following error. Please reply asap.
[/etc/apf]# /etc/init.d/apf start
Starting APF:Unable to load iptables module (ip_tables), aborting.
[ OK ]
When i start iptables service, got the following error.
[/etc/apf]# service iptables restart
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: raw nat mangle filter [FAILED]
Unloading iptables modules: [FAILED]
Applying iptables firewall rules: [ OK ]
Please do something.
Thanks in advance.
Regards,
Kamran
APF Issues
-
- Lance Naik
- Posts: 25
- Joined: Thu Mar 31, 2005 2:26 am
APF Issues
Regards,
Pasha
Pasha
-
- Battalion Havaldaar Major
- Posts: 286
- Joined: Sun May 09, 2004 4:16 pm
- Location: Peshawar
- Contact:
Re: APF Issues
Dear Kamran have look at it
http://www.theserverpages.com/20102/11/
http://www.resellerhostingbox.com/tutorial102.html
BTW which distro & ver you are using ?
takecare
http://www.theserverpages.com/20102/11/
http://www.resellerhostingbox.com/tutorial102.html
Code: Select all
If you get the error:
Unable to load iptables module (ip_tables), aborting.
then your kernal is compiled with iptables statically instead of as a module.
Possible Solution / Comment:
You will need to change this in the conf.apf
MONOKERN="0" Set it to "1"
http://www.resellerhostingbox.com/tutorial102.html
takecare
M Shahzad Qadri
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear Kamranalilakhnavi,
Salam,
Please edit your /etc/apf/firewall and comment following line:
before
after
Finally restart service
# service apf start
Starting APF: OK
Best Regards.
Salam,
Please edit your /etc/apf/firewall and comment following line:
before
Code: Select all
# load our iptables modules
modinit
Code: Select all
# load our iptables modules
# modinit
# service apf start
Starting APF: OK
Best Regards.
Farrukh Ahmed
-
- Lance Naik
- Posts: 25
- Joined: Thu Mar 31, 2005 2:26 am
APF Issues
Hello,
Thanks Qadri and Linux Freak, problem has been reolsoved now.
Great.
Thanks Qadri and Linux Freak, problem has been reolsoved now.
Great.
Regards,
Pasha
Pasha
-
- Lance Naik
- Posts: 25
- Joined: Thu Mar 31, 2005 2:26 am
APF Issues
Hello,
Still has a problem, have a look at.
/etc/rc.d/init.d]# service iptables restart
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: raw nat mangle filter [FAILED]
Unloading iptables modules: [FAILED]
Applying iptables firewall rules: [ OK ]
APF starting fine, but service iptables generating the mentioned error.
Still has a problem, have a look at.
/etc/rc.d/init.d]# service iptables restart
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: raw nat mangle filter [FAILED]
Unloading iptables modules: [FAILED]
Applying iptables firewall rules: [ OK ]
APF starting fine, but service iptables generating the mentioned error.
Regards,
Pasha
Pasha