How to open port 2030

Started by lungkao, February 06, 2015, 10:54:50 AM

Previous topic - Next topic

lungkao

[root@ns ~]# netstat -plunt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LISTEN      1544/pure-ftpd (SER
tcp        0      0 xxx.xx.73.211:53            0.0.0.0:*                   LISTEN      1203/named
tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LISTEN      1203/named
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      1269/sshd
tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN      1514/master
tcp        0      0 127.0.0.1:953               0.0.0.0:*                   LISTEN      1203/named
tcp        0      0 0.0.0.0:4190                0.0.0.0:*                   LISTEN      1432/dovecot
tcp        0      0 0.0.0.0:993                 0.0.0.0:*                   LISTEN      1432/dovecot
tcp        0      0 0.0.0.0:995                 0.0.0.0:*                   LISTEN      1432/dovecot
tcp        0      0 127.0.0.1:10025             0.0.0.0:*                   LISTEN      1514/master
tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      1406/mysqld
tcp        0      0 0.0.0.0:110                 0.0.0.0:*                   LISTEN      1432/dovecot
tcp        0      0 0.0.0.0:143                 0.0.0.0:*                   LISTEN      1432/dovecot
tcp        0      0 :::21                       :::*                        LISTEN      1544/pure-ftpd (SER
tcp        0      0 ::1:53                      :::*                        LISTEN      1203/named
tcp        0      0 :::22                       :::*                        LISTEN      1269/sshd
tcp        0      0 ::1:953                     :::*                        LISTEN      1203/named
tcp        0      0 :::2030                     :::*                        LISTEN      1526/cwpsrvd
tcp        0      0 :::2031                     :::*                        LISTEN      1526/cwpsrvd
udp        0      0 xxx.xx.73.211:53            0.0.0.0:*                               1203/named
udp        0      0 127.0.0.1:53                0.0.0.0:*                               1203/named
udp        0      0 ::1:53                      :::*                                    1203/named

erm3nda

Please, that is not a question of cwp, its a question about SO and it's features.

http://www.linuxquestions.org/questions/linux-security-4/how-to-open-ports-with-iptables-237939/

Use the following command:

iptables -A INPUT -p tcp --dport 2030 -j ACCEPT

For more ports, use menu Security->CSF Firewall->Configuration wich will edit the file /etc/csf/csf.conf

Search for TCP_IN and  put your values (incomin & outgoing).

Example for port tcp 80 and 443 (http & https)
# Allow incoming TCP ports
TCP_IN = "80,443"


By now i don't see any handy editor for ports. It is a basic feature and ALL other webpanels have it.
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

lungkao

#2
my server can use port 80 port 22
but port 2030
The connection has timed out

[root@ns ~]# service cwpsrv start
Starting cwpsrvd:

and
iptables -A INPUT -p tcp --dport 2030 -j ACCEPT

# Allow incoming TCP ports
TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995,2030,2031,2030,2031"

i use lynx can't access


erm3nda

I guess you are A LOT confused.

If you can see "LOGIN TO CENTOS WEBPANEL" means you have reached the website under port 3020, so it's open.

I can't see any other valuable information on your screenshoot, like if you are triying to connect from inside or outside, as example. That screenshot has no info at all, but confuses my about where do you get it.

I would recommend this website to you http://www.t1shopper.com/tools/port-scan/
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

Administrator

and why are you using lynx if you can use browsers ?

erm3nda

I think it opened cwp panel from it's own vps, using a text mode browser so we don't know really if the port is open.

As you Admin point on other post, ssl ports are preconfigured on the cfs firewall.
People not using CSF must deal with iptables, right?
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

lungkao

now i install new server it not work on port 2030 but i use  lynx on server  xxx.xxx.xxx.xxx:2030  i see login from



Igor S.

Hello.

If it works for the lynx port is not closed.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services


Igor S.

Quote from: lungkao on May 13, 2015, 12:36:02 PM
but i can't access 202.44.73.211:2030 164.115.33.42:2030

Check your iptables rules. Also if you have add some rule, do that as:
iptables -I INPUT -p tcp --dport 2030 -j ACCEPT
but not
iptables -A INPUT -p tcp --dport 2030 -j ACCEPT



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services


Igor S.

Try write to the support. Or look your firewall settings.
Just your IP not available including ping:
PING 202.44.73.211 (202.44.73.211) 56(84) bytes of data.
^C
--- 202.44.73.211 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1706ms

PING 164.115.33.42 (164.115.33.42) 56(84) bytes of data.
^C
--- 164.115.33.42 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2727ms




You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services