{"id":753,"date":"2017-08-18T11:03:10","date_gmt":"2017-08-18T08:03:10","guid":{"rendered":"https:\/\/helia.ee\/koolitus\/?page_id=753"},"modified":"2017-08-18T11:03:10","modified_gmt":"2017-08-18T08:03:10","slug":"centos-7-firewall","status":"publish","type":"page","link":"https:\/\/helia.ee\/koolitus\/?page_id=753","title":{"rendered":"Centos 7 &#8211; Firewall"},"content":{"rendered":"<h2>Sample iptables Rules for\u00a0CentOS\/RHEL 7.x only<\/h2>\n<p>You need to use the following commands:<br \/>\n<code># firewall-cmd --permanent --zone=public --add-service=samba<br \/>\n# firewall-cmd --reload<\/code><br \/>\nOR<br \/>\n<code># firewall-cmd --permanent --add-port=137\/tcp<br \/>\n# firewall-cmd --permanent --add-port=138\/tcp<br \/>\n# firewall-cmd --permanent --add-port=139\/tcp<br \/>\n# firewall-cmd --permanent --add-port=445\/tcp<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sample iptables Rules for\u00a0CentOS\/RHEL 7.x only You need to use the following commands: # firewall-cmd &#8211;permanent &#8211;zone=public &#8211;add-service=samba # firewall-cmd &#8211;reload OR # firewall-cmd &#8211;permanent &#8211;add-port=137\/tcp # firewall-cmd &#8211;permanent &#8211;add-port=138\/tcp # firewall-cmd &#8211;permanent &#8211;add-port=139\/tcp # firewall-cmd &#8211;permanent &#8211;add-port=445\/tcp<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":645,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-753","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=753"}],"version-history":[{"count":1,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/753\/revisions"}],"predecessor-version":[{"id":754,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/753\/revisions\/754"}],"up":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/645"}],"wp:attachment":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}