{"id":400,"date":"2014-07-17T21:41:38","date_gmt":"2014-07-17T21:41:38","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=400"},"modified":"2014-07-17T21:41:38","modified_gmt":"2014-07-17T21:41:38","slug":"add-ip-and-port-to-iptables","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2014\/07\/17\/add-ip-and-port-to-iptables\/","title":{"rendered":"Add IP and Port to iptables"},"content":{"rendered":"<p>How to add an IP to access the plesk panel and ssh<\/p>\n<p>Open flle \/etc\/sysconfig\/iptables:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# nano \/etc\/sysconfig\/iptables\n-A INPUT -s 72.177.xxx.xxx\/32 -p tcp -m tcp --dport 8443 -j ACCEPT\n-A INPUT -s 66.226.xx.xx\/32 -p tcp -m tcp --dport 10222 -j ACCEPT\n\n<\/pre>\n<p>Save and restart iptables<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\nservice iptables restart\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>How to add an IP to access the plesk panel and ssh Open flle \/etc\/sysconfig\/iptables: # nano \/etc\/sysconfig\/iptables -A INPUT -s 72.177.xxx.xxx\/32 -p tcp -m tcp &#8211;dport 8443 -j ACCEPT -A INPUT -s 66.226.xx.xx\/32 -p tcp -m tcp &#8211;dport 10222 -j ACCEPT Save and restart iptables service iptables restart<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40,52],"tags":[],"class_list":["post-400","post","type-post","status-publish","format-standard","hentry","category-firewall","category-iptables"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=400"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/400\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}