19
May

ipfilter configuration file

   Posted by: poss   in ETC(기타)

old confi file

# more ipf.conf
block in all
pass in on hme0 proto tcp from any to 222.113.210.71/32 port = 21
pass in on hme0 proto tcp from any to 222.113.210.71/32 port = 22
pass in on hme0 proto tcp from any to 222.113.210.71/32 port = 25
pass in on hme0 proto tcp from any to 222.113.210.71/32 port = 53
pass in on hme0 proto udp from any to 222.113.210.71/32 port = 53
pass in on hme0 proto tcp from any to 222.113.210.71/32 port = 80
pass in on hme0 proto tcp from any to 222.113.210.71/32 port = 110
pass in on hme0 proto tcp from any to 222.113.210.71/32 port = 443
#pass in on hme0 proto tcp from any to 222.113.210.71/32 port = 3306
#pass in on hme0 proto tcp from any to 222.113.210.71/32 port = 143
#For ping and traceroute
pass in on hme0 proto icmp from any to 222.113.210.71/32 icmp-type 0
pass in on hme0 proto icmp from any to 222.113.210.71/32 icmp-type 11
pass out on hme0 proto icmp from 222.113.210.71 to any icmp-type 0
pass out on hme0 proto icmp from 222.113.210.71 to any icmp-type 11
#For outgoing packte.
pass out quick on hme0 proto tcp/udp from 222.113.210.71/32 to any keep state

Tags:

This entry was posted on 월요일, 5월 19th, 2008 at 3:01 오후 and is filed under ETC(기타). You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment
*

Switch to our mobile site