Author Topic: How release an interface/IP from CWP7  (Read 6708 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How release an interface/IP from CWP7
« on: July 25, 2017, 06:51:57 AM »
Just installed the panel on a new box with 16 IPs and was wondering if there is a way in the panel to release select interfaces/IPs, so other processes can use commonly used ports like (21, 20, ect). If there is no way to do in it in the panel if someone was able to point me in the wright direction that would be a big help.

Offline
*
Re: How release an interface/IP from CWP7
« Reply #1 on: July 25, 2017, 04:38:18 PM »
each ip you have added into your system its should be visible when creating a new account.
Don't forget that each ip you have on your server should also work for all server service like ftp,ssh,cwp,imap,pop,smtp...

you can check listening ports by using this command
Code: [Select]
netstat -tulpn
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: How release an interface/IP from CWP7
« Reply #2 on: July 25, 2017, 05:57:22 PM »
Thanks, that command helped. I have all the IPs listed and showing up in CWP and had no problems with that, the problems is CWP/common services are using "0.0.0.0" and "0" for all the common ports, making it so that when another processes wants to bind one of those ports on a defined IP it can't.

Output of some of the "netstat -tulpn"

Code: [Select]
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      657/named
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      531/pure-ftpd
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      515/sshd
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      14591/master
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      657/named
tcp        0      0 0.0.0.0:4190            0.0.0.0:*               LISTEN      14878/dovecot
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      14878/dovecot
tcp        0      0 0.0.0.0:2082            0.0.0.0:*               LISTEN      685/cwpsrv: master
tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN      14878/dovecot
tcp        0      0 0.0.0.0:2083            0.0.0.0:*               LISTEN      685/cwpsrv: master
tcp        0      0 0.0.0.0:2086            0.0.0.0:*               LISTEN      685/cwpsrv: master
tcp        0      0 0.0.0.0:2087            0.0.0.0:*               LISTEN      685/cwpsrv: master
tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN      14404/amavisd (mast
tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN      14591/master
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      14591/master
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      14878/dovecot
tcp        0      0 0.0.0.0:2030            0.0.0.0:*               LISTEN      685/cwpsrv: master
tcp6       0      0 ::1:783                 :::*                    LISTEN      14392/spamd.pid -d
tcp6       0      0 :::465                  :::*                    LISTEN      14591/master
tcp6       0      0 ::1:53                  :::*                    LISTEN      657/named
tcp6       0      0 :::21                   :::*                    LISTEN      531/pure-ftpd
tcp6       0      0 :::22                   :::*                    LISTEN      515/sshd
tcp6       0      0 :::25                   :::*                    LISTEN      14591/master
tcp6       0      0 ::1:953                 :::*                    LISTEN      657/named
tcp6       0      0 ::1:10024               :::*                    LISTEN      14404/amavisd (mast
tcp6       0      0 :::3306                 :::*                    LISTEN      623/mysqld
tcp6       0      0 :::587                  :::*                    LISTEN      14591/master