Monday 3 December 2012

How to Disable firewall on Unix and Windows

  • Disable firewall on RHEL 6:
     # /sbin/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
     # service iptables save
     Reference link:
     http://www.netsarang.com/products/xmg_faq.html#p1 
     http://www.cyberciti.biz/faq/linux-unix-open-ports/
  • Disable firewall for AIX:
     aix  networking reference link:       
     http://www.softpanorama.org/Commercial_unixes/AIX/aix_networking.shtml 
  • Disable firewall for Windows:
     Under Windows XP SP2, it is possible to enable or disable the firewall with the following command lines.

      First open the command prompt: (Windows + R keys) and type : cmd 


      Disable the Windows XP firewall:
        netsh firewall set opmode disable

        Enable the Windows XP firewall:

        netsh firewall set opmode enable

No comments:

Post a Comment

Tweets by @sriramperumalla