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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change mail IP and close ports

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

Tags:
  1. richardev

    richardev Registered

    Joined:
    Mar 23, 2017
    Messages:
    1
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page