LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-12-2004, 11:09 AM   #1
acis
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Rep: Reputation: 0
How to enable ping after APF firewall install?


I installed and configure APF (version: 0.9.3-rev3) firewall. I want to enable ping. I read some article how to enable it. Acording to the article I need to do these

/etc/apf/icmp.rules, line 47

# Uncomment to enable pings
# $IPT -t filter -A INPUT -p icmp --icmp-type 8 -m limit --limit $ICMP_LIM/s -j ACCEPT


But I don't have /etc/apf/icmp.rules file in my server

Thanks in advance

Acis
 
Old 08-12-2004, 03:41 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: How to enable ping after APF firewall install?

Quote:
Originally posted by acis
I installed and configure APF (version: 0.9.3-rev3) firewall. I want to enable ping. I read some article how to enable it. Acording to the article I need to do these

/etc/apf/icmp.rules, line 47

# Uncomment to enable pings
# $IPT -t filter -A INPUT -p icmp --icmp-type 8 -m limit --limit $ICMP_LIM/s -j ACCEPT


But I don't have /etc/apf/icmp.rules file in my server

Thanks in advance

Acis
Usually if a file does not exist you would have to create it put in the required contents you have above save it and restart the firewall to see if it works.
 
1 members found this post helpful.
Old 08-12-2004, 04:02 PM   #3
acis
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks HappyTux for your responce. I think they use /etc/apf/internals/icmp.types not /etc/apf/icmp.rules. I am not sure how to use it

Thanks
acis
 
Old 08-12-2004, 04:43 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by acis
Thanks HappyTux for your responce. I think they use /etc/apf/internals/icmp.types not /etc/apf/icmp.rules. I am not sure how to use it

Thanks
acis
Most times there are .conf files that contain the directories/settings that tell the program where to look for the file(s) it needs you may want to look around in the /etc/apf/ directory and see if you can find such a file(s) and hopefully the maintainer of the package has put some decent comments in the file that will tell you what you need to do and there is always the man page it should be telling you something about using it and at the bottom of the page it will usually list related files/man pages that you can refer too for more information. If the program on your system uses the /etc/apf/internals directory I would say create the file in there with the different name and put your line into it and see how it goes you can always delete the file later if it does not work.

BTW do you have a URL to the page(s) you are referring too in your first post, googling on apf icmp.types or apf icmp.rules turns up no hits.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Enable Firewall after Install? ctroyp Fedora - Installation 2 09-21-2005 09:06 PM
NIS behind apf firewall how to ravikumarG Linux - Networking 1 05-09-2005 05:21 PM
APF firewall binumvk Linux - Security 2 10-14-2004 06:12 AM
APF Firewall issue nepcw Linux - Security 2 04-27-2004 03:55 PM
APF Firewall BlackRain Linux - Security 2 06-12-2003 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:29 PM.

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