---
title: "Fedora turn off firewall"
author: "roddy"
date: "2016-09-07T09:49:52Z"
tags: []
categories: ["操作系统"]
slug: "fedora-turn-off-firewall"
draft: false
lastmod: "2016-09-07T09:49:52Z"
id: 2323064
url: "https://roddy.iteye.com/blog/2323064"
---

24[down vote]()accepted

If you are using Fedora &gt;= 18, the server is probably running `firewalld`, which you can disable by running

```
systemctl stop firewalld.service
```

as root. You might also want to read `man firewall-cmd` to find out more about adding firewall rules.

If you are running an older version of Fedora (or one that has been upgraded from an older version), the server is probably running `iptables`, which you can turn of by running

```
systemctl stop iptables.service
```

(using `systemctl` assumes you are running Fedora &gt;= 15, with `systemd` as init deamon).