{"id":765,"date":"2025-04-04T11:19:58","date_gmt":"2025-04-04T16:19:58","guid":{"rendered":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/?p=765"},"modified":"2025-04-04T11:19:58","modified_gmt":"2025-04-04T16:19:58","slug":"setting-firewalld-to-allow-nodes-on-intranet-to-access-internet","status":"publish","type":"post","link":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/?p=765","title":{"rendered":"Setting firewalld to allow nodes on intranet to access internet"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>firewall-cmd --zone=public --add-interface=&lt;internet interface&gt; --permanent\nfirewall-cmd --zone=internal --add-interface=&lt;intranet interface as gateway&gt; --permanent\nfirewall-cmd --set-default-zone=public --permanent\nfirewall-cmd --reload\nfirewall-cmd --get-default-zone\nfirewall-cmd --new-policy internal-public --permanent\nfirewall-cmd --reload\nfirewall-cmd --policy internal-public --add-ingress-zone=internal --permanent\nfirewall-cmd --policy internal-public --add-egress-zone=public --permanent\nfirewall-cmd --policy internal-public --set-target=ACCEPT --permanent\nfirewall-cmd --reload\nfirewall-cmd --info-policy internal-public<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,3],"tags":[],"class_list":["post-765","post","type-post","status-publish","format-standard","hentry","category-computer-tips","category-mri-technical-support","post-blog"],"_links":{"self":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=765"}],"version-history":[{"count":1,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/765\/revisions"}],"predecessor-version":[{"id":766,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/765\/revisions\/766"}],"wp:attachment":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}