I'm setting up an IRCd on My VPS. How do I open up the normal IRC ports?

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












0














I'm trying to get my IRCd running on my VPS.
I have everything set up and ready, but I cannot connect.
Did a portscan, and the prot isn't open.
I have root access.



How do I open up ports 6667 and 6697?










share|improve this question




























    0














    I'm trying to get my IRCd running on my VPS.
    I have everything set up and ready, but I cannot connect.
    Did a portscan, and the prot isn't open.
    I have root access.



    How do I open up ports 6667 and 6697?










    share|improve this question


























      0












      0








      0







      I'm trying to get my IRCd running on my VPS.
      I have everything set up and ready, but I cannot connect.
      Did a portscan, and the prot isn't open.
      I have root access.



      How do I open up ports 6667 and 6697?










      share|improve this question















      I'm trying to get my IRCd running on my VPS.
      I have everything set up and ready, but I cannot connect.
      Did a portscan, and the prot isn't open.
      I have root access.



      How do I open up ports 6667 and 6697?







      port-forwarding irc ircd






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 20 '18 at 7:27









      Rui F Ribeiro

      39k1479130




      39k1479130










      asked Jan 25 '16 at 17:44









      4g0tt3nSou1

      11




      11




















          1 Answer
          1






          active

          oldest

          votes


















          1














          if iptables is running on your machine, you need to open it up for these two ports you mentioned.



          to check if iptables is running, run command:



          service iptables status


          if it is running, edit the /etc/sysconfig/iptables file and enter these two lines:



          -A INPUT -m state --state NEW -m tcp -p tcp --dport 6667 -j ACCEPT
          -A INPUT -m state --state NEW -m tcp -p tcp --dport 6697 -j ACCEPT


          then run



          service iptables restart


          if iptables is not running, it might be a different matter, such as your VPS provider not allowing IRC traffic to pass thru. Read the terms of service and see if there is anything telling you something like "you can not run irc servers" or alike.






          share|improve this answer
















          • 1




            The recommended method of configuring the firewall varies by distribution. In particular, in CentOS 7 and on, it's configured using firewalld rather than the old iptables service (though the latter is still available). Might note that, depending on what OP's distro is.
            – Tom Hunt
            Jan 25 '16 at 18:23










          • @TomHunt You're absolutely right. My answer was geared towards the run-of-the-mill VPS provider, who delivers the systems with a an old version, LTS, operating system, running iptables.
            – MelBurslan
            Jan 25 '16 at 18: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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          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%2f257574%2fim-setting-up-an-ircd-on-my-vps-how-do-i-open-up-the-normal-irc-ports%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          if iptables is running on your machine, you need to open it up for these two ports you mentioned.



          to check if iptables is running, run command:



          service iptables status


          if it is running, edit the /etc/sysconfig/iptables file and enter these two lines:



          -A INPUT -m state --state NEW -m tcp -p tcp --dport 6667 -j ACCEPT
          -A INPUT -m state --state NEW -m tcp -p tcp --dport 6697 -j ACCEPT


          then run



          service iptables restart


          if iptables is not running, it might be a different matter, such as your VPS provider not allowing IRC traffic to pass thru. Read the terms of service and see if there is anything telling you something like "you can not run irc servers" or alike.






          share|improve this answer
















          • 1




            The recommended method of configuring the firewall varies by distribution. In particular, in CentOS 7 and on, it's configured using firewalld rather than the old iptables service (though the latter is still available). Might note that, depending on what OP's distro is.
            – Tom Hunt
            Jan 25 '16 at 18:23










          • @TomHunt You're absolutely right. My answer was geared towards the run-of-the-mill VPS provider, who delivers the systems with a an old version, LTS, operating system, running iptables.
            – MelBurslan
            Jan 25 '16 at 18:54















          1














          if iptables is running on your machine, you need to open it up for these two ports you mentioned.



          to check if iptables is running, run command:



          service iptables status


          if it is running, edit the /etc/sysconfig/iptables file and enter these two lines:



          -A INPUT -m state --state NEW -m tcp -p tcp --dport 6667 -j ACCEPT
          -A INPUT -m state --state NEW -m tcp -p tcp --dport 6697 -j ACCEPT


          then run



          service iptables restart


          if iptables is not running, it might be a different matter, such as your VPS provider not allowing IRC traffic to pass thru. Read the terms of service and see if there is anything telling you something like "you can not run irc servers" or alike.






          share|improve this answer
















          • 1




            The recommended method of configuring the firewall varies by distribution. In particular, in CentOS 7 and on, it's configured using firewalld rather than the old iptables service (though the latter is still available). Might note that, depending on what OP's distro is.
            – Tom Hunt
            Jan 25 '16 at 18:23










          • @TomHunt You're absolutely right. My answer was geared towards the run-of-the-mill VPS provider, who delivers the systems with a an old version, LTS, operating system, running iptables.
            – MelBurslan
            Jan 25 '16 at 18:54













          1












          1








          1






          if iptables is running on your machine, you need to open it up for these two ports you mentioned.



          to check if iptables is running, run command:



          service iptables status


          if it is running, edit the /etc/sysconfig/iptables file and enter these two lines:



          -A INPUT -m state --state NEW -m tcp -p tcp --dport 6667 -j ACCEPT
          -A INPUT -m state --state NEW -m tcp -p tcp --dport 6697 -j ACCEPT


          then run



          service iptables restart


          if iptables is not running, it might be a different matter, such as your VPS provider not allowing IRC traffic to pass thru. Read the terms of service and see if there is anything telling you something like "you can not run irc servers" or alike.






          share|improve this answer












          if iptables is running on your machine, you need to open it up for these two ports you mentioned.



          to check if iptables is running, run command:



          service iptables status


          if it is running, edit the /etc/sysconfig/iptables file and enter these two lines:



          -A INPUT -m state --state NEW -m tcp -p tcp --dport 6667 -j ACCEPT
          -A INPUT -m state --state NEW -m tcp -p tcp --dport 6697 -j ACCEPT


          then run



          service iptables restart


          if iptables is not running, it might be a different matter, such as your VPS provider not allowing IRC traffic to pass thru. Read the terms of service and see if there is anything telling you something like "you can not run irc servers" or alike.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 25 '16 at 18:13









          MelBurslan

          5,29011533




          5,29011533







          • 1




            The recommended method of configuring the firewall varies by distribution. In particular, in CentOS 7 and on, it's configured using firewalld rather than the old iptables service (though the latter is still available). Might note that, depending on what OP's distro is.
            – Tom Hunt
            Jan 25 '16 at 18:23










          • @TomHunt You're absolutely right. My answer was geared towards the run-of-the-mill VPS provider, who delivers the systems with a an old version, LTS, operating system, running iptables.
            – MelBurslan
            Jan 25 '16 at 18:54












          • 1




            The recommended method of configuring the firewall varies by distribution. In particular, in CentOS 7 and on, it's configured using firewalld rather than the old iptables service (though the latter is still available). Might note that, depending on what OP's distro is.
            – Tom Hunt
            Jan 25 '16 at 18:23










          • @TomHunt You're absolutely right. My answer was geared towards the run-of-the-mill VPS provider, who delivers the systems with a an old version, LTS, operating system, running iptables.
            – MelBurslan
            Jan 25 '16 at 18:54







          1




          1




          The recommended method of configuring the firewall varies by distribution. In particular, in CentOS 7 and on, it's configured using firewalld rather than the old iptables service (though the latter is still available). Might note that, depending on what OP's distro is.
          – Tom Hunt
          Jan 25 '16 at 18:23




          The recommended method of configuring the firewall varies by distribution. In particular, in CentOS 7 and on, it's configured using firewalld rather than the old iptables service (though the latter is still available). Might note that, depending on what OP's distro is.
          – Tom Hunt
          Jan 25 '16 at 18:23












          @TomHunt You're absolutely right. My answer was geared towards the run-of-the-mill VPS provider, who delivers the systems with a an old version, LTS, operating system, running iptables.
          – MelBurslan
          Jan 25 '16 at 18:54




          @TomHunt You're absolutely right. My answer was geared towards the run-of-the-mill VPS provider, who delivers the systems with a an old version, LTS, operating system, running iptables.
          – MelBurslan
          Jan 25 '16 at 18:54

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f257574%2fim-setting-up-an-ircd-on-my-vps-how-do-i-open-up-the-normal-irc-ports%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown






          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