Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Change mail IP and close ports

Discussion in 'E-mail Discussion' started by richardev, Apr 8, 2017.

Tags:
  1. richardev

    richardev Registered

    Joined:
    Mar 23, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    Hello.

    I was wondering if and how it is possible to remove/disable/close specific ports on IP.

    I have VPS running CentOS and the server has 2 IP's. 1st one is the main IP used by web server, ftp server & ssh. I changed mail server (Exim) IP address to 2nd IP. Currently if I scan my secondary IP it still shows all the ports together.

    I would like to run all mail services on 2nd IP with ports (25,465,587, etc.) and all other services on 1st IP with ports (80,21,22,etc.). For example if we scan domain or IP ports the results would show only assigned ports for the specific IP address.

    Is this even possible? And if it is - how can I do that?

    Thanks in advance.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,937
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice