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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How do I reverse selected lines order in Vim?
- 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
- CentOS 中 iptables 和 firewall 防火牆的相關命令CentOS防火牆
- [20221222]How to Enable and Disable Database Options in oracle 11g.txtDatabaseOracle
- 伺服器安全設定Centos7 防火牆firewall與iptables伺服器CentOS防火牆
- How can I add a site title refiner
- (翻譯) How i work - Taylor Otwell
- 【譯】How I built a wind map with WebGLUIWeb
- linux之iptables使用Linux
- linux中iptables詳解Linux
- Linux下iptables安全配置Linux
- Linux iptables 命令詳解Linux
- I do not even think it's a case of people loving PSO
- Linux設定防火牆iptablesLinux防火牆
- Linux的銅牆鐵壁iptablesLinux
- Linux基礎命令---iptables防火牆Linux防火牆
- Linux基礎命令---iptables-saveLinux
- How Do Vision Transformers Work?[2202.06709] - 論文研讀系列(2) 個人筆記ORM筆記
- 自學linux——8.firewall-cmd的命令使用Linux
- 25個常用的Linux iptables規則Linux
- linux iptables安全技術與防火牆Linux防火牆
- Linux IPTables:如何新增防火牆規則Linux防火牆
- 初級:如何更新 Fedora Linux 系統Linux
- 把Discord安裝在Fedora Linux上Linux
- 如何將Java 整合在 Fedora Linux 中?JavaLinux
- iptables配置-Linux系統安全防火牆Linux防火牆
- local_irq_disable和disable_irq的區別
- 防火牆(firewall)防火牆
- Linux 防火牆配置(iptables和firewalld)詳細教程。Linux防火牆
- Linux系統iptables與Firewalld防火牆區別?Linux防火牆
- disable Nouveau kernel driver
- bypass disable_functionFunction
- 虛擬機器 之 Fedora Core 5.0 用 Xen 虛擬Slackware 10.2虛擬機
- Linux 防火牆:關於 iptables 和 firewalld 的那些事Linux防火牆
- Linux防火牆介紹和iptables常用命令Linux防火牆
- FCC-JS-BAS-Where do I belong-陣列排序並找出元素索引JS陣列排序索引
- linux-i2cLinux