Difference between revisions of "OPS235 Assignment 2 Tips"

From CDOT Wiki
Jump to: navigation, search
(Created page with '= Turning Firewall On/Off on CentOS 7 = == To turn it off == * /usr/sbin/iptables -F * /usr/sbin/iptables -P INPUT ACCEPT * /usr/sbin/iptables -P OUTPUT ACCEPT == To turn it on =…')
 
Line 1: Line 1:
 +
[[category:OPS234]][[Category:rchan]]
 
= Turning Firewall On/Off on CentOS 7 =
 
= Turning Firewall On/Off on CentOS 7 =
 
== To turn it off ==
 
== To turn it off ==

Revision as of 14:12, 29 July 2015

Turning Firewall On/Off on CentOS 7

To turn it off

  • /usr/sbin/iptables -F
  • /usr/sbin/iptables -P INPUT ACCEPT
  • /usr/sbin/iptables -P OUTPUT ACCEPT

To turn it on

  • systemctl restart firewalld.service