OPS235 Assignment 2 Tips

From CDOT Wiki
Revision as of 13:11, 29 July 2015 by Rchan (talk | contribs) (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 =…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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