\n\t\t\t\t
Open Port in CSF Firewall through SSH\u00a0<\/strong><\/p>- Login to your Linux Server through SSH. Open csf.conf file using any text editor.\/etc\/csf\/csf.conf<\/li>
- Add the port you wish to open and restart CSF firewall for the changes to take into effect.# Allow incoming TCP ports
TCP_IN = “20,443,465,21,22,587,993,25,53,80,110,143,995”
# Allow outgoing TCP ports
TCP_OUT = “20,21,443,587,22,25,80,110,43,53”<\/li> - csf -r \u00a0\/\/ This is to restart CSF firewall<\/li><\/ol>
Open Port in CSF Firewall through WHM<\/strong><\/p>- Login to\u00a0WHM<\/strong><\/em>.<\/li>
- Type\u00a0firewall<\/strong>\u00a0in Find bar and click on\u00a0ConfigServer Security&Firewall<\/strong><\/em>\u00a0link.
<\/li>- \u00a0Click on the\u00a0Firewall Configuration<\/strong><\/em>\u00a0button.<\/li>
<\/li>- Scroll down and locate\u00a0Allow incoming TCP ports<\/strong><\/em>\u00a0section. Enter the port you wish to open and click on the\u00a0Change<\/strong><\/em>\u00a0button at the bottom to save your changes.<\/li>
<\/li>- Lastly, you will need to restart csf by clicking on\u00a0Restart csf+lfd<\/strong><\/em>\u00a0button.<\/li><\/ol>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"
How To Open Ports in WHM\/SSH Firewall Open Port in CSF Firewall through SSH\u00a0 Login to your Linux Server through SSH. Open csf.conf file using any text editor.\/etc\/csf\/csf.conf Add the port you wish to open and restart CSF firewall for the changes to take into effect.# Allow incoming TCP portsTCP_IN = “20,443,465,21,22,587,993,25,53,80,110,143,995”# Allow outgoing TCP …<\/p>\n
How to open ports in WHM\/SSH firewall?<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[44],"kbtag":[110],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/2150"}],"collection":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/comments?post=2150"}],"version-history":[{"count":9,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/2150\/revisions"}],"predecessor-version":[{"id":18414,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/2150\/revisions\/18414"}],"wp:attachment":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/media?parent=2150"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=2150"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kbtag?post=2150"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=2150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}