{"id":879,"date":"2017-02-21T14:29:48","date_gmt":"2017-02-21T14:29:48","guid":{"rendered":"https:\/\/www.xsofthost.com\/help\/?p=879"},"modified":"2017-02-21T16:58:16","modified_gmt":"2017-02-21T16:58:16","slug":"how-to-restart-iptables-firewall-on-linux-server","status":"publish","type":"post","link":"https:\/\/www.xsofthost.com\/help\/how-to-restart-iptables-firewall-on-linux-server\/","title":{"rendered":"How to Restart Iptables Firewall On Linux Server"},"content":{"rendered":"<h2>Common reasons require you to restart Iptables firewall Service<\/h2>\n<p><strong>Iptables <\/strong>is firewall service that comes and distributed within Linux OS. In most cases you need to <b>restart Iptables firewall service<\/b> if you made changes to iptables firewall config file .<\/p>\n<h2>How To Restart Iptables firewall Service under Linux \/ UNIX<\/h2>\n<p>The following examples using the <strong>restart<\/strong> command in case you want to stop the service you can use <strong>stop<\/strong> command and use <strong>start<\/strong> command to start stopped service.<div class=\"well well-sm  oscitas-bootstrap-container \">You have run these command under <strong>root\/administrator privileges<\/strong> . <\/div><\/p>\n<h3>Restart Iptables firewall on\u00a0 Fedora \/ RHEL \/ Red Hat\/CentOS Linux version 5.x\/6.x<\/h3>\n<h4>To restart an IPv4 iptables based firewall:<\/h4>\n<div class=\"cmd\">\n<div><span class=\"prompt\">service iptables restart<\/span><\/div>\n<\/div>\n<h4>To restart an IPv6 iptables based firewall:<\/h4>\n<div class=\"cmd\">\n<div><span class=\"prompt\">service ip6tables restart<\/span><\/div>\n<\/div>\n<h3>Restart Iptables firewall on\u00a0 Fedora \/ RHEL \/ Red Hat \/CentOS Linux version 7.x<\/h3>\n<h4>To restart an IPv4 iptables based firewall:<\/h4>\n<div class=\"cmd\">\n<div><span class=\"prompt\">systemctl restart\u00a0 iptables.service <\/span><\/div>\n<\/div>\n<h4>To restart an IPv6 iptables based firewall:<\/h4>\n<div class=\"cmd\">\n<div><span class=\"prompt\">systemctl restart\u00a0 ip6tables.service<\/span><\/div>\n<\/div>\n<h3>Start\/Stop Iptables Firewall Service On Ubuntu Linux<\/h3>\n<h4>To Stop Iptables Firewall Service On Ubuntu Linux<\/h4>\n<div class=\"cmd\">\n<div><span class=\"prompt\">sudo service ufw stop<\/span><\/div>\n<\/div>\n<h4>To Start Iptables Firewall Service On Ubuntu Linux<\/h4>\n<div class=\"cmd\">\n<div><span class=\"prompt\">sudo service ufw start<\/span><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Common reasons require you to restart Iptables firewall Service Iptables is firewall service that comes and distributed within Linux OS. In most cases you need to restart Iptables firewall service if you made changes to iptables firewall config file . How To Restart Iptables firewall Service under Linux \/ UNIX The following examples using the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":363,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[41],"tags":[49,42,50,148,142],"_links":{"self":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/879"}],"collection":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/comments?post=879"}],"version-history":[{"count":17,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/879\/revisions"}],"predecessor-version":[{"id":896,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/879\/revisions\/896"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media\/363"}],"wp:attachment":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media?parent=879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/categories?post=879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/tags?post=879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}