Need add firewall rule

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
1
down vote

favorite












I have CentOS 7.3.1611 installed and there I have Icewarp mail-server installed.



When the firewall is stopped, I can connect in my web browser to the admin console, but if it is started then I can't connect to this web console. I probably have to add a rule for this address: http://random.random.net (or https). Maybe is just needed enable ports 80 and 443 which are for http/s?



Can you please help me to solve this issue or state how add this firewall rule?







share|improve this question

















  • 1




    what are you connecting to on which protocol on which port ? what is your current firewall ? what is its current configuration, it's impossible to help without a bit of background here.
    – Kiwy
    Jul 19 at 12:46

















up vote
1
down vote

favorite












I have CentOS 7.3.1611 installed and there I have Icewarp mail-server installed.



When the firewall is stopped, I can connect in my web browser to the admin console, but if it is started then I can't connect to this web console. I probably have to add a rule for this address: http://random.random.net (or https). Maybe is just needed enable ports 80 and 443 which are for http/s?



Can you please help me to solve this issue or state how add this firewall rule?







share|improve this question

















  • 1




    what are you connecting to on which protocol on which port ? what is your current firewall ? what is its current configuration, it's impossible to help without a bit of background here.
    – Kiwy
    Jul 19 at 12:46













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I have CentOS 7.3.1611 installed and there I have Icewarp mail-server installed.



When the firewall is stopped, I can connect in my web browser to the admin console, but if it is started then I can't connect to this web console. I probably have to add a rule for this address: http://random.random.net (or https). Maybe is just needed enable ports 80 and 443 which are for http/s?



Can you please help me to solve this issue or state how add this firewall rule?







share|improve this question













I have CentOS 7.3.1611 installed and there I have Icewarp mail-server installed.



When the firewall is stopped, I can connect in my web browser to the admin console, but if it is started then I can't connect to this web console. I probably have to add a rule for this address: http://random.random.net (or https). Maybe is just needed enable ports 80 and 443 which are for http/s?



Can you please help me to solve this issue or state how add this firewall rule?









share|improve this question












share|improve this question




share|improve this question








edited Jul 19 at 14:26









slm♦

232k65479649




232k65479649









asked Jul 19 at 12:44









Miroslav Král

62




62







  • 1




    what are you connecting to on which protocol on which port ? what is your current firewall ? what is its current configuration, it's impossible to help without a bit of background here.
    – Kiwy
    Jul 19 at 12:46













  • 1




    what are you connecting to on which protocol on which port ? what is your current firewall ? what is its current configuration, it's impossible to help without a bit of background here.
    – Kiwy
    Jul 19 at 12:46








1




1




what are you connecting to on which protocol on which port ? what is your current firewall ? what is its current configuration, it's impossible to help without a bit of background here.
– Kiwy
Jul 19 at 12:46





what are you connecting to on which protocol on which port ? what is your current firewall ? what is its current configuration, it's impossible to help without a bit of background here.
– Kiwy
Jul 19 at 12:46











1 Answer
1






active

oldest

votes

















up vote
1
down vote













stackoverflow.com: Open firewall port on CentOS 7



For you, most likely:



firewall-cmd --zone=public --add-port=443/tcp --permanent





share|improve this answer





















  • Thank You. Can You ale please tell me how I can disable this rule if I will need it?
    – Miroslav Král
    Jul 19 at 13:22










  • firewall-cmd --zone=public --remove-port=443/tcp --permanent
    – slm♦
    Jul 19 at 14:29










  • or just don't use the --permanent option, then the next firewall restart (eg: in reboot) will remove this rule.
    – redseven
    Jul 19 at 15:27










  • Thank You very very much! :)
    – Miroslav Král
    Jul 20 at 5:54










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f457209%2fneed-add-firewall-rule%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













stackoverflow.com: Open firewall port on CentOS 7



For you, most likely:



firewall-cmd --zone=public --add-port=443/tcp --permanent





share|improve this answer





















  • Thank You. Can You ale please tell me how I can disable this rule if I will need it?
    – Miroslav Král
    Jul 19 at 13:22










  • firewall-cmd --zone=public --remove-port=443/tcp --permanent
    – slm♦
    Jul 19 at 14:29










  • or just don't use the --permanent option, then the next firewall restart (eg: in reboot) will remove this rule.
    – redseven
    Jul 19 at 15:27










  • Thank You very very much! :)
    – Miroslav Král
    Jul 20 at 5:54














up vote
1
down vote













stackoverflow.com: Open firewall port on CentOS 7



For you, most likely:



firewall-cmd --zone=public --add-port=443/tcp --permanent





share|improve this answer





















  • Thank You. Can You ale please tell me how I can disable this rule if I will need it?
    – Miroslav Král
    Jul 19 at 13:22










  • firewall-cmd --zone=public --remove-port=443/tcp --permanent
    – slm♦
    Jul 19 at 14:29










  • or just don't use the --permanent option, then the next firewall restart (eg: in reboot) will remove this rule.
    – redseven
    Jul 19 at 15:27










  • Thank You very very much! :)
    – Miroslav Král
    Jul 20 at 5:54












up vote
1
down vote










up vote
1
down vote









stackoverflow.com: Open firewall port on CentOS 7



For you, most likely:



firewall-cmd --zone=public --add-port=443/tcp --permanent





share|improve this answer













stackoverflow.com: Open firewall port on CentOS 7



For you, most likely:



firewall-cmd --zone=public --add-port=443/tcp --permanent






share|improve this answer













share|improve this answer



share|improve this answer











answered Jul 19 at 13:12









redseven

1876




1876











  • Thank You. Can You ale please tell me how I can disable this rule if I will need it?
    – Miroslav Král
    Jul 19 at 13:22










  • firewall-cmd --zone=public --remove-port=443/tcp --permanent
    – slm♦
    Jul 19 at 14:29










  • or just don't use the --permanent option, then the next firewall restart (eg: in reboot) will remove this rule.
    – redseven
    Jul 19 at 15:27










  • Thank You very very much! :)
    – Miroslav Král
    Jul 20 at 5:54
















  • Thank You. Can You ale please tell me how I can disable this rule if I will need it?
    – Miroslav Král
    Jul 19 at 13:22










  • firewall-cmd --zone=public --remove-port=443/tcp --permanent
    – slm♦
    Jul 19 at 14:29










  • or just don't use the --permanent option, then the next firewall restart (eg: in reboot) will remove this rule.
    – redseven
    Jul 19 at 15:27










  • Thank You very very much! :)
    – Miroslav Král
    Jul 20 at 5:54















Thank You. Can You ale please tell me how I can disable this rule if I will need it?
– Miroslav Král
Jul 19 at 13:22




Thank You. Can You ale please tell me how I can disable this rule if I will need it?
– Miroslav Král
Jul 19 at 13:22












firewall-cmd --zone=public --remove-port=443/tcp --permanent
– slm♦
Jul 19 at 14:29




firewall-cmd --zone=public --remove-port=443/tcp --permanent
– slm♦
Jul 19 at 14:29












or just don't use the --permanent option, then the next firewall restart (eg: in reboot) will remove this rule.
– redseven
Jul 19 at 15:27




or just don't use the --permanent option, then the next firewall restart (eg: in reboot) will remove this rule.
– redseven
Jul 19 at 15:27












Thank You very very much! :)
– Miroslav Král
Jul 20 at 5:54




Thank You very very much! :)
– Miroslav Král
Jul 20 at 5:54












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f457209%2fneed-add-firewall-rule%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay