---
title: Ensure ip6tables Rules are Saved
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Datadog Security > OOTB Rules > Ensure ip6tables Rules are Saved
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Ensure ip6tables Rules are Saved
 
## Description{% #description %}

The `ip6tables` service loads `/etc/sysconfig/ip6tables` at boot. That file must hold the complete rule set of the running `filter` table, as `ip6tables-save` writes it. After reviewing the running rules, save them:

```
# service ip6tables save
```

The rule passes when IPv6 is disabled.

## Rationale{% #rationale %}

Rules that are not saved are lost when the system reboots, and the firewall comes up with whatever the file holds.

## Warning{% #warning %}

The check compares the rules as `ip6tables-save` writes them, so a file edited by hand fails until `service ip6tables save` rewrites it.
