---
title: "Linux关闭防火墙"
author: "TxjDsk"
date: "2012-03-10T18:11:49Z"
tags: []
categories: ["操作系统"]
slug: "linux"
draft: false
lastmod: "2012-03-10T18:11:49Z"
id: 1449880
url: "https://txjdsk.iteye.com/blog/1449880"
---

在Linux上安装了tomcat后局域网的其它电脑不能访问，这是可以关闭Linux的防火墙，方法如下：

 

防火墙 永久打开或则关闭  
         chkconfig iptables on  
         chkconfig iptables off

即时生效：重启后还原  
         service iptables start  
         service iptables stop