View Single Post
  #4  
Old 30th July 2008, 16:36
leeeonardo leeeonardo is offline
Member
 
Join Date: Apr 2007
Posts: 57
Thanks: 14
Thanked 0 Times in 0 Posts
Default

I have disabled the firewall and disable SELinux

[root@local /]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

And check that network:

[root@local /]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 3304/mysqld
tcp 0 0 *:sunrpc *:* LISTEN 3010/portmap
tcp 0 0 *:81 *:* LISTEN 3688/ispconfig_http
tcp 0 0 local.jlr-software.c:domain *:* LISTEN 3815/named
tcp 0 0 localhost.localdomai:domain *:* LISTEN 3815/named
tcp 0 0 localhost.localdomain:ipp *:* LISTEN 3142/cupsd
tcp 0 0 *:smtp *:* LISTEN 8018/master
tcp 0 0 localhost.localdomain:rndc *:* LISTEN 3815/named
tcp 0 0 *:667 *:* LISTEN 3029/rpc.statd
tcp 0 0 *:imaps *:* LISTEN 3330/dovecot
tcp 0 0 *op3s *:* LISTEN 3330/dovecot
tcp 0 0 *op3 *:* LISTEN 3330/dovecot
tcp 0 0 *:imap *:* LISTEN 3330/dovecot
tcp 0 0 *:http *:* LISTEN 3713/httpd
tcp 0 0 *:ftp *:* LISTEN 3833/proftpd: (acce
tcp 0 0 *:ssh *:* LISTEN 3188/sshd
tcp 0 0 ::1:rndc *:* LISTEN 3815/named
tcp 0 0 *:https *:* LISTEN 3713/httpd
tcp 0 268 local.jlr-software.com:ssh ::ffff:192.168.1.100:3575 ESTABLISHED 4399/0
tcp 0 0 local.jlr-software.comop3 ::ffff:192.168.1.100:1177 TIME_WAIT -

And My Route forwaring the ports to server:

TCP 21, 80, 25, 110, 81, 22, 143, 53
UDP 53
Reply With Quote