summaryrefslogtreecommitdiff
path: root/tests/unit/fixtures/firewall_interfaces_running.json
blob: af120cedc57d5d481df04a861927cbacb05da8be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
  "ipv4": {
    "input": {
      "filter": {
        "default-action": "accept",
        "rule": {
          "10": { "action": "accept", "state": "established" },
          "20": {
            "action": "drop",
            "state": "invalid",
            "source": { "address": "10.0.0.0/8" },
            "destination": { "port": "22" }
          }
        }
      }
    },
    "forward": {
      "filter": {
        "default-action": "accept"
      }
    },
    "output": {
      "filter": {
        "default-action": "accept"
      }
    },
    "name": {
      "my-ruleset": {
        "rule": {
          "1": { "action": "accept" }
        }
      }
    }
  },
  "ipv6": {
    "input": {
      "filter": {
        "default-action": "accept"
      }
    }
  }
}