apf blocking port issue

this is my nmap output
Code:
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on localhost (127.0.0.1):
(The 1583 ports scanned but not shown below are in state: closed)
Port       State       Service
1/tcp      open        tcpmux
21/tcp     open        ftp
22/tcp     open        ssh
25/tcp     open        smtp
26/tcp     open        unknown
53/tcp     open        domain
80/tcp     open        http
110/tcp    open        pop-3
111/tcp    open        sunrpc
143/tcp    open        imap2
443/tcp    open        https
465/tcp    open        smtps
631/tcp    open        ipp
783/tcp    open        hp-alarm-mgr
953/tcp    open        rndc
993/tcp    open        imaps
995/tcp    open        pop3s
3306/tcp   open        mysql

Nmap run completed -- 1 IP address (1 host up) scanned in 3 seconds
ports 631 and 3306 aren't in my apf config file but these ports are open how can i block these ports

this is my apf config file

[code]# Common ingress (inbound) TCP ports
IG_TCP_CPORTS="20,21,22,25,26,53,80,110,143,443,465,993,995,2082,2083,2086,2087,2095,2096"

# Common ingress (inbound) UDP ports
IG_UDP_CPORTS="21,53,873"

# Common ICMP (inbound) types
# 'internals/icmp.types' for type definition; 'all' is wildcard for any
IG_ICMP_TYPES="3,5,11,0,30,8"

# Egress filtering [0 = Disabled / 1 = Enabled]
EGF="1"

# Common egress (outbound) TCP ports
EG_TCP_CPORTS="21,22,25,26,27,37,43,53,80,110,113,443,465,873,2089"

# Common egress (outbound) UDP ports
EG_UDP_CPORTS="20,21,37,53,873"

 

 

 

 

Top