ipfilter configuration file

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

답글 남기기

Your email address will not be published.