rendered paste body[root@localhost ~]# sudo /etc/init.d/kerio-connect start
Starting Kerio Connect: . [ OK ]
[root@localhost ~]# netstat -al |grep 4040
[root@localhost ~]# lsof -Pnl +M -i4
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
dhclient 1537 0 4u IPv4 5354 UDP *:68
sshd 1922 0 3u IPv4 6765 TCP *:22 (LISTEN)
cupsd 1933 0 4u IPv4 6806 TCP 127.0.0.1:631 (LISTEN)
cupsd 1933 0 6u IPv4 6809 UDP *:631
avahi-dae 2058 70 13u IPv4 7154 UDP *:5353
avahi-dae 2058 70 14u IPv4 7155 UDP *:55697
mailserve 3701 0 38u IPv4 12726 TCP *:44337 (LISTEN)
mailserve 3701 0 39u IPv4 12727 UDP *:44337
mailserve 3701 0 43u IPv4 12770 TCP *:25 (LISTEN)
mailserve 3701 0 50u IPv4 12771 TCP *:465 (LISTEN)
mailserve 3701 0 51u IPv4 12772 TCP *:587 (LISTEN)
mailserve 3701 0 52u IPv4 12773 TCP *:110 (LISTEN)
mailserve 3701 0 53u IPv4 12774 TCP *:995 (LISTEN)
mailserve 3701 0 54u IPv4 12775 TCP *:143 (LISTEN)
mailserve 3701 0 55u IPv4 12776 TCP *:993 (LISTEN)
mailserve 3701 0 56u IPv4 12777 TCP *:119 (LISTEN)
mailserve 3701 0 57u IPv4 12778 TCP *:563 (LISTEN)
mailserve 3701 0 58u IPv4 12779 TCP *:389 (LISTEN)
mailserve 3701 0 59u IPv4 12780 TCP *:636 (LISTEN)
mailserve 3701 0 60u IPv4 12781 TCP *:80 (LISTEN)
mailserve 3701 0 61u IPv4 12782 TCP *:8800 (LISTEN)
mailserve 3701 0 62u IPv4 12783 TCP *:443 (LISTEN)
mailserve 3701 0 63u IPv4 12784 TCP *:8843 (LISTEN)
mailserve 3701 0 64u IPv4 12785 TCP *:4040 (LISTEN)
[root@localhost ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT esp -- anywhere anywhere
ACCEPT ah -- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
ACCEPT udp -- anywhere anywhere udp dpt:ipp
ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:pop3
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:imap
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:nntp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ldap
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtps
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:nntps
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ldaps
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:imaps
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:pop3s
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:44337
ACCEPT udp -- anywhere anywhere state NEW udp dpt:44337
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:yo-main
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:submission
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:sunwebadmin
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:pcsync-https
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited