How do I disable the iptables firewall in Fedora Core Linux?
Q. How do I disable the iptables firewall in Fedora Core Linux?
A. Iptables is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel.
If you are using RHEL (Redhat), Fedora core or Cent os Linux just type following commands to disable the iptables firewall:
# service iptables save
# service iptables stop
# chkconfig iptables off
If you are using any other Linux distribution type the following command to clear up firewall rules:
# iptables -F
# iptables -X
# iptables -t nat -F
# iptables -t nat -X
# iptables -t mangle -F
# iptables -t mangle -X
# iptables -P INPUT ACCEPT
# iptables -P OUTPUT ACCEPT
You may need to put above rules in a shell script and execute the same.
Also remove your iptables startup script from your network
configuration file such as /etc/network/interfaces. Look for post-up
directive.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/66634/viewspace-1057651/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Checkout conflict with files. How do I proceed?
- How do I initialize Log4J in a web application?WebAPP
- How do I reverse selected lines order in Vim?
- How do you pronounce IT?
- Fedora core 4安裝Oracle9i release 2Oracle
- Fedora Core 3上安裝oracle9i(9.2.0.4)(轉)Oracle
- How to disable transparent hugepages (THP) on Red Hat Enterprise Linux 7Linux
- How to disable transparent Hugepage (THP) on Red Hat Enterprise Linux 8?Linux
- linux fedora core 5上安裝字型Linux
- How to configure a firewall for domains and trustsAIRust
- How to Disable or set SELinux to Permissive mode [ID 457458.1]Linux
- CentOS 中 iptables 和 firewall 防火牆的相關命令CentOS防火牆
- HOW TO CHECK IF ASYNCHRONOUS I/O IS WORKING ON LINUXLinux
- Fedora Core 與 Red Hat Linux 的關係(轉)Linux
- Fedora Core 5釋出
- How do you think the GHD hair straightenersAI
- How do you find that an operation mode switch occurred?
- Scrum series | How we do product backlogs薦Scrum
- 伺服器安全設定Centos7 防火牆firewall與iptables伺服器CentOS防火牆
- How to Check and Enable/Disable Oracle Binary Options (文件 ID 948061.1)Oracle
- Fedora Core中設定PATH(轉)
- Fedora Core 6的新特性(轉)
- ORACLE 10.2.0.1g FOR LINUX在FEDORA CORE 7下的安裝OracleLinux
- 從硬碟安裝Fedora Core 4(轉)硬碟
- Fedora Core 4硬碟安裝方法(轉)硬碟
- [Encoding]How to do proper encoding output redirection on cmd.exe?Encoding
- (翻譯) How i work - Taylor Otwell
- 【譯】How I built a wind map with WebGLUIWeb
- How to Tell if the I/O of the Database is Slow - 1Database
- fedora core 啟動服務詳解(zt)
- Fedora Core 5 安裝 7-zip(轉)
- Fedora Core 5.0 安裝教程{下載}(轉)
- Fedora Core 4 Release 安裝手記(轉)
- Fedora Core 6 Pre release images available(轉)AI
- Fedora Core 4 基礎教程 集中帖(轉)
- How to Disable Asynch_io on HP to Avoid Ioctl Async_config ErrorError
- linux之iptables使用Linux
- linux防火牆iptablesLinux防火牆