{"id":16927233,"url":"https://github.com/kbknapp/iptables_exporter","last_synced_at":"2025-07-22T15:09:32.753Z","repository":{"id":57634592,"uuid":"362631197","full_name":"kbknapp/iptables_exporter","owner":"kbknapp","description":"A Prometheus exporter for iptables in Rust","archived":false,"fork":false,"pushed_at":"2024-05-08T11:22:25.000Z","size":86,"stargazers_count":40,"open_issues_count":5,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T16:05:07.179Z","etag":null,"topics":["exporter","iptables","metrics","prometheus","prometheus-exporter"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kbknapp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"kbknapp","patreon":"kbknapp"}},"created_at":"2021-04-28T23:16:09.000Z","updated_at":"2025-03-25T07:53:11.000Z","dependencies_parsed_at":"2024-03-29T03:29:15.718Z","dependency_job_id":"f1aa60d9-f097-48ce-84d6-4e7bdb69a649","html_url":"https://github.com/kbknapp/iptables_exporter","commit_stats":{"total_commits":36,"total_committers":1,"mean_commits":36.0,"dds":0.0,"last_synced_commit":"f9de68e2b9ff01dc1ffc764cf224c9ab55b685f8"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/kbknapp/iptables_exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbknapp%2Fiptables_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbknapp%2Fiptables_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbknapp%2Fiptables_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbknapp%2Fiptables_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kbknapp","download_url":"https://codeload.github.com/kbknapp/iptables_exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbknapp%2Fiptables_exporter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266516433,"owners_count":23941427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["exporter","iptables","metrics","prometheus","prometheus-exporter"],"created_at":"2024-10-13T20:33:26.970Z","updated_at":"2025-07-22T15:09:32.729Z","avatar_url":"https://github.com/kbknapp.png","language":"Rust","funding_links":["https://github.com/sponsors/kbknapp","https://patreon.com/kbknapp"],"categories":[],"sub_categories":[],"readme":"# `iptables_exporter`\n\n\nAn asynchronous Prometheus exporter for `iptables`\n\n`iptables_exporter` runs one of several backend \"scrape targets\" such as\n`iptables-save --counter` and scrapes the output to build Prometheus metrics.\nBecause these scrape targets require `root` privileges, this tool must be run as\n`root` (or via `sudo`) or with the following capabilities in both the ambient\nand bounding set:\n\n- CAP_DAC_READ_SEARCH\n- CAP_NET_ADMIN\n- CAP_NET_RAW\n\n# Metrics Provided\n\n- Total number of bytes per chain/table/policy\n- Total number of bytes matched per rule/chain/table\n- Total number of packets per chain/table/policy\n- Total number of packets matched per rule/chain/table\n- Total number of rules per chain/table\n- Total number of chains per table\n- Scrape duration in milliseconds\n- Scrape success\n\n# Scrape Targets Supported\n\n- `iptables-save`\n- `ip6tables-save`\n- `iptables-legacy-save`\n- `ip6tables-legacy-save`\n\nMultiple scrape targets can be enabled at once by using the\n`-t|--scrape-targets` flag multiple times. Such as:\n\n```\n$ iptables_exporter -t iptables -t iptables-legacy -t ip6tables\n```\n\nBy default only `iptables` is enabled.\n\nThe metrics provided will be prefixed with the various scrape targets, such as\n`iptables_*`, `iptables_legacy_*`, etc. \n\n# Installation\n\n`iptables_exporter` is a single binary that must be placed somewhere in your\n`$PATH`. One can either download 64-bit Linux binaries from [the Release Page](https://github.com/kbknapp/iptables_exporter/releases)\nor one can also compile from source.\n\n## Compile from Source\n\nEnsure you have a [Rust toolchain installed](https://rustup.rs). Some of the\ndependencies also require `gcc` to be installed.\n\n```\n$ git clone https://github.com/kbknapp/iptables_exporter\n$ cd iptables_exporter\n$ cargo build --release\n$ sudo cp target/release/iptables_exporter /usr/local/bin/\n```\n\n# Usage\n\n## Command Line Interface\n\n```\nUsage: iptables_exporter [OPTIONS]\n\nOptions:\n      --collect-interval \u003cSECS\u003e\n          How often metrics are gathered\n\n          [default: 5]\n\n  -p, --listen-port \u003cPORT\u003e\n          The listen port for scraping metrics\n\n          [default: 9455]\n\n  -l, --listen-address \u003cADDR\u003e\n          The listen address scraping metrics\n\n          [default: 0.0.0.0]\n\n  -t, --scrape-targets \u003cTARGET\u003e\n          Which backends to scrape for metrics, multiple targets can be enabled at\n          once by using this flag multiple times\n\n          [default: iptables]\n          [aliases: scrape-target]\n\n          Possible values:\n          - iptables:         enable 'iptables-save' for metrics\n          - ip6tables:        enable 'ip6tables-save' for metrics\n          - iptables-legacy:  enable 'iptables-legacy-save' for metrics\n          - ip6tables-legacy: enable 'ip6tables-legacy-save' for metrics\n\n  -v, --verbose...\n          Show verbose output at a level or higher. -v:  DEBUG, -vv: TRACE\n\n  -q, --quiet...\n          Supress output at a level or lower. -q: INFO, -qq: WARN, -qqq: ERROR (i.e.\n          everything)\n\n  -h, --help\n          Print help information (use `-h` for a summary)\n\n  -V, --version\n          Print version information\n```\n\nTo run with the default options, and the binary is installed somewhere in your\n`$PATH`:\n\n```\n$ sudo iptables_exporter\n```\n\n# Prometheus Configuration\n\nYou can add the following scrape configs to Prometheus:\n\n```yaml\nscrape_configs:\n  - job_name: 'iptables'\n    static_configs:\n    - targets:\n      - 'localhost:9455'\n      - 'other_host:9455'\n\n    relabel_configs:\n    - source_labels: [ '__address__' ]\n      regex: '(.*):\\d+'\n      target_label: instance\n```\n\n# Example Metrics\n\n```\n# HELP iptables_chain_bytes_total Total bytes flowing through a given chain\n# TYPE iptables_chain_bytes_total counter\niptables_chain_bytes_total{chain=\"DOCKER\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"DOCKER\",policy=\"ACCEPT\",table=\"nat\"} 0\niptables_chain_bytes_total{chain=\"DOCKER-ISOLATION-STAGE-1\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"DOCKER-ISOLATION-STAGE-2\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"DOCKER-USER\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"FORWARD\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"INPUT\",policy=\"ACCEPT\",table=\"filter\"} 98893683\niptables_chain_bytes_total{chain=\"INPUT\",policy=\"ACCEPT\",table=\"nat\"} 0\niptables_chain_bytes_total{chain=\"OUTPUT\",policy=\"ACCEPT\",table=\"filter\"} 196455\niptables_chain_bytes_total{chain=\"OUTPUT\",policy=\"ACCEPT\",table=\"nat\"} 0\niptables_chain_bytes_total{chain=\"POSTROUTING\",policy=\"ACCEPT\",table=\"nat\"} 0\niptables_chain_bytes_total{chain=\"PREROUTING\",policy=\"ACCEPT\",table=\"nat\"} 0\niptables_chain_bytes_total{chain=\"ts-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ts-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ts-postrouting\",policy=\"ACCEPT\",table=\"nat\"} 0\niptables_chain_bytes_total{chain=\"ufw-after-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-after-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-after-logging-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-after-logging-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-after-logging-output\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-after-output\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-before-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-before-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-before-logging-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-before-logging-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-before-logging-output\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-before-output\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-logging-allow\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-logging-deny\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-not-local\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-reject-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-reject-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-reject-output\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-skip-to-policy-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-skip-to-policy-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-skip-to-policy-output\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-track-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-track-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-track-output\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-user-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-user-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-user-limit\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-user-limit-accept\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-user-logging-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-user-logging-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-user-logging-output\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_bytes_total{chain=\"ufw-user-output\",policy=\"ACCEPT\",table=\"filter\"} 0\n# HELP iptables_chain_packets_total Total packets flowing through a given chain\n# TYPE iptables_chain_packets_total counter\niptables_chain_packets_total{chain=\"DOCKER\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"DOCKER\",policy=\"ACCEPT\",table=\"nat\"} 0\niptables_chain_packets_total{chain=\"DOCKER-ISOLATION-STAGE-1\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"DOCKER-ISOLATION-STAGE-2\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"DOCKER-USER\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"FORWARD\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"INPUT\",policy=\"ACCEPT\",table=\"filter\"} 1036441\niptables_chain_packets_total{chain=\"INPUT\",policy=\"ACCEPT\",table=\"nat\"} 0\niptables_chain_packets_total{chain=\"OUTPUT\",policy=\"ACCEPT\",table=\"filter\"} 2498\niptables_chain_packets_total{chain=\"OUTPUT\",policy=\"ACCEPT\",table=\"nat\"} 0\niptables_chain_packets_total{chain=\"POSTROUTING\",policy=\"ACCEPT\",table=\"nat\"} 0\niptables_chain_packets_total{chain=\"PREROUTING\",policy=\"ACCEPT\",table=\"nat\"} 0\niptables_chain_packets_total{chain=\"ts-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ts-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ts-postrouting\",policy=\"ACCEPT\",table=\"nat\"} 0\niptables_chain_packets_total{chain=\"ufw-after-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-after-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-after-logging-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-after-logging-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-after-logging-output\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-after-output\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-before-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-before-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-before-logging-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-before-logging-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-before-logging-output\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-before-output\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-logging-allow\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-logging-deny\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-not-local\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-reject-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-reject-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-reject-output\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-skip-to-policy-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-skip-to-policy-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-skip-to-policy-output\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-track-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-track-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-track-output\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-user-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-user-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-user-limit\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-user-limit-accept\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-user-logging-forward\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-user-logging-input\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-user-logging-output\",policy=\"ACCEPT\",table=\"filter\"} 0\niptables_chain_packets_total{chain=\"ufw-user-output\",policy=\"ACCEPT\",table=\"filter\"} 0\n# HELP iptables_chains_total Total number of chains in a table\n# TYPE iptables_chains_total gauge\niptables_chains_total{table=\"filter\"} 41\niptables_chains_total{table=\"nat\"} 6\n# HELP iptables_comment_bytes_total Total bytes matching a given comment inside a rule\n# TYPE iptables_comment_bytes_total counter\niptables_comment_bytes_total{chain=\"ufw-user-input\",comment=\"\\\\'dapp_Nginx%20Full\\\\'\",table=\"filter\"} 0\niptables_comment_bytes_total{chain=\"ufw-user-input\",comment=\"\\\\'dapp_OpenSSH\\\\'\",table=\"filter\"} 0\n# HELP iptables_comment_packets_total Total packets matching a given comment inside a rule\n# TYPE iptables_comment_packets_total counter\niptables_comment_packets_total{chain=\"ufw-user-input\",comment=\"\\\\'dapp_Nginx%20Full\\\\'\",table=\"filter\"} 0\niptables_comment_packets_total{chain=\"ufw-user-input\",comment=\"\\\\'dapp_OpenSSH\\\\'\",table=\"filter\"} 0\n# HELP iptables_rule_bytes_total Total bytes matching a given rule\n# TYPE iptables_rule_bytes_total counter\niptables_rule_bytes_total{chain=\"DOCKER\",rule=\"! -i br-6379b058093a -p tcp -m tcp --dport 3000 -j DNAT --to-destination 172.18.0.3:3000\",table=\"nat\"} 103564\niptables_rule_bytes_total{chain=\"DOCKER\",rule=\"-d 127.0.0.1/32 ! -i br-6379b058093a -p tcp -m tcp --dport 3022 -j DNAT --to-destination 172.18.0.3:22\",table=\"nat\"} 0\niptables_rule_bytes_total{chain=\"DOCKER\",rule=\"-d 172.18.0.3/32 ! -i br-6379b058093a -o br-6379b058093a -p tcp -m tcp --dport 22 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"DOCKER\",rule=\"-d 172.18.0.3/32 ! -i br-6379b058093a -o br-6379b058093a -p tcp -m tcp --dport 3000 -j ACCEPT\",table=\"filter\"} 103564\niptables_rule_bytes_total{chain=\"DOCKER\",rule=\"-i br-6379b058093a -j RETURN\",table=\"nat\"} 4056\niptables_rule_bytes_total{chain=\"DOCKER\",rule=\"-i docker0 -j RETURN\",table=\"nat\"} 0\niptables_rule_bytes_total{chain=\"DOCKER-ISOLATION-STAGE-1\",rule=\"-i br-6379b058093a ! -o br-6379b058093a -j DOCKER-ISOLATION-STAGE-2\",table=\"filter\"} 84363279\niptables_rule_bytes_total{chain=\"DOCKER-ISOLATION-STAGE-1\",rule=\"-i docker0 ! -o docker0 -j DOCKER-ISOLATION-STAGE-2\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"DOCKER-ISOLATION-STAGE-1\",rule=\"-j RETURN\",table=\"filter\"} 70219112923\niptables_rule_bytes_total{chain=\"DOCKER-ISOLATION-STAGE-2\",rule=\"-j RETURN\",table=\"filter\"} 84363279\niptables_rule_bytes_total{chain=\"DOCKER-ISOLATION-STAGE-2\",rule=\"-o br-6379b058093a -j DROP\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"DOCKER-ISOLATION-STAGE-2\",rule=\"-o docker0 -j DROP\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"DOCKER-USER\",rule=\"-j RETURN\",table=\"filter\"} 106189380614\niptables_rule_bytes_total{chain=\"FORWARD\",rule=\"-i br-6379b058093a ! -o br-6379b058093a -j ACCEPT\",table=\"filter\"} 96793557\niptables_rule_bytes_total{chain=\"FORWARD\",rule=\"-i br-6379b058093a -o br-6379b058093a -j ACCEPT\",table=\"filter\"} 38645160\niptables_rule_bytes_total{chain=\"FORWARD\",rule=\"-i docker0 ! -o docker0 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"FORWARD\",rule=\"-i docker0 -o docker0 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"FORWARD\",rule=\"-j DOCKER-ISOLATION-STAGE-1\",table=\"filter\"} 70219112923\niptables_rule_bytes_total{chain=\"FORWARD\",rule=\"-j DOCKER-USER\",table=\"filter\"} 70219112923\niptables_rule_bytes_total{chain=\"FORWARD\",rule=\"-j ts-forward\",table=\"filter\"} 70248886353\niptables_rule_bytes_total{chain=\"FORWARD\",rule=\"-j ufw-after-forward\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"FORWARD\",rule=\"-j ufw-after-logging-forward\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"FORWARD\",rule=\"-j ufw-before-forward\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"FORWARD\",rule=\"-j ufw-before-logging-forward\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"FORWARD\",rule=\"-j ufw-reject-forward\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"FORWARD\",rule=\"-j ufw-track-forward\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"FORWARD\",rule=\"-o br-6379b058093a -j DOCKER\",table=\"filter\"} 38800448\niptables_rule_bytes_total{chain=\"FORWARD\",rule=\"-o br-6379b058093a -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT\",table=\"filter\"} 106053786609\niptables_rule_bytes_total{chain=\"FORWARD\",rule=\"-o docker0 -j DOCKER\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"FORWARD\",rule=\"-o docker0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"INPUT\",rule=\"-j ts-input\",table=\"filter\"} 144722461078\niptables_rule_bytes_total{chain=\"INPUT\",rule=\"-j ufw-after-input\",table=\"filter\"} 99431756\niptables_rule_bytes_total{chain=\"INPUT\",rule=\"-j ufw-after-logging-input\",table=\"filter\"} 98893683\niptables_rule_bytes_total{chain=\"INPUT\",rule=\"-j ufw-before-input\",table=\"filter\"} 223670038486\niptables_rule_bytes_total{chain=\"INPUT\",rule=\"-j ufw-before-logging-input\",table=\"filter\"} 223670038486\niptables_rule_bytes_total{chain=\"INPUT\",rule=\"-j ufw-reject-input\",table=\"filter\"} 98893683\niptables_rule_bytes_total{chain=\"INPUT\",rule=\"-j ufw-track-input\",table=\"filter\"} 98893683\niptables_rule_bytes_total{chain=\"OUTPUT\",rule=\"! -d 127.0.0.0/8 -m addrtype --dst-type LOCAL -j DOCKER\",table=\"nat\"} 48072\niptables_rule_bytes_total{chain=\"OUTPUT\",rule=\"-j ufw-after-logging-output\",table=\"filter\"} 114847240\niptables_rule_bytes_total{chain=\"OUTPUT\",rule=\"-j ufw-after-output\",table=\"filter\"} 114847240\niptables_rule_bytes_total{chain=\"OUTPUT\",rule=\"-j ufw-before-logging-output\",table=\"filter\"} 133420557102\niptables_rule_bytes_total{chain=\"OUTPUT\",rule=\"-j ufw-before-output\",table=\"filter\"} 133420557102\niptables_rule_bytes_total{chain=\"OUTPUT\",rule=\"-j ufw-reject-output\",table=\"filter\"} 114847240\niptables_rule_bytes_total{chain=\"OUTPUT\",rule=\"-j ufw-track-output\",table=\"filter\"} 114847240\niptables_rule_bytes_total{chain=\"POSTROUTING\",rule=\"-j MASQUERADE\",table=\"nat\"} 138400621\niptables_rule_bytes_total{chain=\"POSTROUTING\",rule=\"-j ts-postrouting\",table=\"nat\"} 142259622\niptables_rule_bytes_total{chain=\"POSTROUTING\",rule=\"-s 172.17.0.0/16 ! -o docker0 -j MASQUERADE\",table=\"nat\"} 15808\niptables_rule_bytes_total{chain=\"POSTROUTING\",rule=\"-s 172.18.0.0/16 ! -o br-6379b058093a -j MASQUERADE\",table=\"nat\"} 5766232\niptables_rule_bytes_total{chain=\"POSTROUTING\",rule=\"-s 172.18.0.3/32 -d 172.18.0.3/32 -p tcp -m tcp --dport 22 -j MASQUERADE\",table=\"nat\"} 0\niptables_rule_bytes_total{chain=\"POSTROUTING\",rule=\"-s 172.18.0.3/32 -d 172.18.0.3/32 -p tcp -m tcp --dport 3000 -j MASQUERADE\",table=\"nat\"} 0\niptables_rule_bytes_total{chain=\"PREROUTING\",rule=\"-m addrtype --dst-type LOCAL -j DOCKER\",table=\"nat\"} 125651037\niptables_rule_bytes_total{chain=\"ts-forward\",rule=\"-i tailscale0 -j MARK --set-xmark 0x40000/0xff0000\",table=\"filter\"} 27766129\niptables_rule_bytes_total{chain=\"ts-forward\",rule=\"-m mark --mark 0x40000/0xff0000 -j ACCEPT\",table=\"filter\"} 27766129\niptables_rule_bytes_total{chain=\"ts-forward\",rule=\"-o tailscale0 -j ACCEPT\",table=\"filter\"} 5600284\niptables_rule_bytes_total{chain=\"ts-postrouting\",rule=\"-m mark --mark 0x40000/0xff0000 -j MASQUERADE\",table=\"nat\"} 0\niptables_rule_bytes_total{chain=\"ufw-after-input\",rule=\"-m addrtype --dst-type BROADCAST -j ufw-skip-to-policy-input\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-after-input\",rule=\"-p tcp -m tcp --dport 139 -j ufw-skip-to-policy-input\",table=\"filter\"} 31348\niptables_rule_bytes_total{chain=\"ufw-after-input\",rule=\"-p tcp -m tcp --dport 445 -j ufw-skip-to-policy-input\",table=\"filter\"} 461276\niptables_rule_bytes_total{chain=\"ufw-after-input\",rule=\"-p udp -m udp --dport 137 -j ufw-skip-to-policy-input\",table=\"filter\"} 43685\niptables_rule_bytes_total{chain=\"ufw-after-input\",rule=\"-p udp -m udp --dport 138 -j ufw-skip-to-policy-input\",table=\"filter\"} 392\niptables_rule_bytes_total{chain=\"ufw-after-input\",rule=\"-p udp -m udp --dport 67 -j ufw-skip-to-policy-input\",table=\"filter\"} 980\niptables_rule_bytes_total{chain=\"ufw-after-input\",rule=\"-p udp -m udp --dport 68 -j ufw-skip-to-policy-input\",table=\"filter\"} 392\niptables_rule_bytes_total{chain=\"ufw-after-logging-forward\",rule=\"-m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix \\\"[UFW BLOCK] \\\"\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-after-logging-input\",rule=\"-m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix \\\"[UFW BLOCK] \\\"\",table=\"filter\"} 14484045\niptables_rule_bytes_total{chain=\"ufw-before-forward\",rule=\"-j ufw-user-forward\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-before-forward\",rule=\"-m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-before-forward\",rule=\"-p icmp -m icmp --icmp-type 11 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-before-forward\",rule=\"-p icmp -m icmp --icmp-type 12 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-before-forward\",rule=\"-p icmp -m icmp --icmp-type 3 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-before-forward\",rule=\"-p icmp -m icmp --icmp-type 8 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-before-input\",rule=\"-d 224.0.0.251/32 -p udp -m udp --dport 5353 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-before-input\",rule=\"-d 239.255.255.250/32 -p udp -m udp --dport 1900 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-before-input\",rule=\"-i lo -j ACCEPT\",table=\"filter\"} 109905406104\niptables_rule_bytes_total{chain=\"ufw-before-input\",rule=\"-j ufw-not-local\",table=\"filter\"} 139808177\niptables_rule_bytes_total{chain=\"ufw-before-input\",rule=\"-j ufw-user-input\",table=\"filter\"} 139808177\niptables_rule_bytes_total{chain=\"ufw-before-input\",rule=\"-m conntrack --ctstate INVALID -j DROP\",table=\"filter\"} 12630859\niptables_rule_bytes_total{chain=\"ufw-before-input\",rule=\"-m conntrack --ctstate INVALID -j ufw-logging-deny\",table=\"filter\"} 12630859\niptables_rule_bytes_total{chain=\"ufw-before-input\",rule=\"-m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT\",table=\"filter\"} 113600086803\niptables_rule_bytes_total{chain=\"ufw-before-input\",rule=\"-p icmp -m icmp --icmp-type 11 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-before-input\",rule=\"-p icmp -m icmp --icmp-type 12 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-before-input\",rule=\"-p icmp -m icmp --icmp-type 3 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-before-input\",rule=\"-p icmp -m icmp --icmp-type 8 -j ACCEPT\",table=\"filter\"} 12106543\niptables_rule_bytes_total{chain=\"ufw-before-input\",rule=\"-p udp -m udp --sport 67 --dport 68 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-before-output\",rule=\"-j ufw-user-output\",table=\"filter\"} 114847240\niptables_rule_bytes_total{chain=\"ufw-before-output\",rule=\"-m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT\",table=\"filter\"} 23400303758\niptables_rule_bytes_total{chain=\"ufw-before-output\",rule=\"-o lo -j ACCEPT\",table=\"filter\"} 109905406104\niptables_rule_bytes_total{chain=\"ufw-logging-allow\",rule=\"-m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix \\\"[UFW ALLOW] \\\"\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-logging-deny\",rule=\"-m conntrack --ctstate INVALID -m limit --limit 3/min --limit-burst 10 -j RETURN\",table=\"filter\"} 12553133\niptables_rule_bytes_total{chain=\"ufw-logging-deny\",rule=\"-m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix \\\"[UFW BLOCK] \\\"\",table=\"filter\"} 23494\niptables_rule_bytes_total{chain=\"ufw-not-local\",rule=\"-j DROP\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-not-local\",rule=\"-m addrtype --dst-type BROADCAST -j RETURN\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-not-local\",rule=\"-m addrtype --dst-type LOCAL -j RETURN\",table=\"filter\"} 139808177\niptables_rule_bytes_total{chain=\"ufw-not-local\",rule=\"-m addrtype --dst-type MULTICAST -j RETURN\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-not-local\",rule=\"-m limit --limit 3/min --limit-burst 10 -j ufw-logging-deny\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-skip-to-policy-forward\",rule=\"-j DROP\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-skip-to-policy-input\",rule=\"-j DROP\",table=\"filter\"} 538073\niptables_rule_bytes_total{chain=\"ufw-skip-to-policy-output\",rule=\"-j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-track-output\",rule=\"-p tcp -m conntrack --ctstate NEW -j ACCEPT\",table=\"filter\"} 71823344\niptables_rule_bytes_total{chain=\"ufw-track-output\",rule=\"-p udp -m conntrack --ctstate NEW -j ACCEPT\",table=\"filter\"} 42827441\niptables_rule_bytes_total{chain=\"ufw-user-input\",rule=\"-p tcp -m multiport --dports 80,443  -j ACCEPT\",table=\"filter\"} 22646850\niptables_rule_bytes_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 1022 -j ACCEPT\",table=\"filter\"} 4572\niptables_rule_bytes_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 110 -j DROP\",table=\"filter\"} 53612\niptables_rule_bytes_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 22  -j ACCEPT\",table=\"filter\"} 17335109\niptables_rule_bytes_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 25 -j DROP\",table=\"filter\"} 199380\niptables_rule_bytes_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 30000 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 51820 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 587 -j DROP\",table=\"filter\"} 56064\niptables_rule_bytes_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 9001 -j DROP\",table=\"filter\"} 24844\niptables_rule_bytes_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 993 -j DROP\",table=\"filter\"} 52200\niptables_rule_bytes_total{chain=\"ufw-user-input\",rule=\"-p udp -m udp --dport 110 -j DROP\",table=\"filter\"} 58\niptables_rule_bytes_total{chain=\"ufw-user-input\",rule=\"-p udp -m udp --dport 25 -j DROP\",table=\"filter\"} 2397\niptables_rule_bytes_total{chain=\"ufw-user-input\",rule=\"-p udp -m udp --dport 30000 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-user-input\",rule=\"-p udp -m udp --dport 51820 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-user-input\",rule=\"-p udp -m udp --dport 587 -j DROP\",table=\"filter\"} 196\niptables_rule_bytes_total{chain=\"ufw-user-input\",rule=\"-p udp -m udp --dport 993 -j DROP\",table=\"filter\"} 254\niptables_rule_bytes_total{chain=\"ufw-user-limit\",rule=\"-j REJECT --reject-with icmp-port-unreachable\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-user-limit\",rule=\"-m limit --limit 3/min -j LOG --log-prefix \\\"[UFW LIMIT BLOCK] \\\"\",table=\"filter\"} 0\niptables_rule_bytes_total{chain=\"ufw-user-limit-accept\",rule=\"-j ACCEPT\",table=\"filter\"} 0\n# HELP iptables_rule_packets_total Total packets matching a given rule\n# TYPE iptables_rule_packets_total counter\niptables_rule_packets_total{chain=\"DOCKER\",rule=\"! -i br-6379b058093a -p tcp -m tcp --dport 3000 -j DNAT --to-destination 172.18.0.3:3000\",table=\"nat\"} 1880\niptables_rule_packets_total{chain=\"DOCKER\",rule=\"-d 127.0.0.1/32 ! -i br-6379b058093a -p tcp -m tcp --dport 3022 -j DNAT --to-destination 172.18.0.3:22\",table=\"nat\"} 0\niptables_rule_packets_total{chain=\"DOCKER\",rule=\"-d 172.18.0.3/32 ! -i br-6379b058093a -o br-6379b058093a -p tcp -m tcp --dport 22 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"DOCKER\",rule=\"-d 172.18.0.3/32 ! -i br-6379b058093a -o br-6379b058093a -p tcp -m tcp --dport 3000 -j ACCEPT\",table=\"filter\"} 1880\niptables_rule_packets_total{chain=\"DOCKER\",rule=\"-i br-6379b058093a -j RETURN\",table=\"nat\"} 8\niptables_rule_packets_total{chain=\"DOCKER\",rule=\"-i docker0 -j RETURN\",table=\"nat\"} 0\niptables_rule_packets_total{chain=\"DOCKER-ISOLATION-STAGE-1\",rule=\"-i br-6379b058093a ! -o br-6379b058093a -j DOCKER-ISOLATION-STAGE-2\",table=\"filter\"} 195813\niptables_rule_packets_total{chain=\"DOCKER-ISOLATION-STAGE-1\",rule=\"-i docker0 ! -o docker0 -j DOCKER-ISOLATION-STAGE-2\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"DOCKER-ISOLATION-STAGE-1\",rule=\"-j RETURN\",table=\"filter\"} 140281499\niptables_rule_packets_total{chain=\"DOCKER-ISOLATION-STAGE-2\",rule=\"-j RETURN\",table=\"filter\"} 195813\niptables_rule_packets_total{chain=\"DOCKER-ISOLATION-STAGE-2\",rule=\"-o br-6379b058093a -j DROP\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"DOCKER-ISOLATION-STAGE-2\",rule=\"-o docker0 -j DROP\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"DOCKER-USER\",rule=\"-j RETURN\",table=\"filter\"} 212747854\niptables_rule_packets_total{chain=\"FORWARD\",rule=\"-i br-6379b058093a ! -o br-6379b058093a -j ACCEPT\",table=\"filter\"} 286249\niptables_rule_packets_total{chain=\"FORWARD\",rule=\"-i br-6379b058093a -o br-6379b058093a -j ACCEPT\",table=\"filter\"} 644086\niptables_rule_packets_total{chain=\"FORWARD\",rule=\"-i docker0 ! -o docker0 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"FORWARD\",rule=\"-i docker0 -o docker0 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"FORWARD\",rule=\"-j DOCKER-ISOLATION-STAGE-1\",table=\"filter\"} 140281499\niptables_rule_packets_total{chain=\"FORWARD\",rule=\"-j DOCKER-USER\",table=\"filter\"} 140281499\niptables_rule_packets_total{chain=\"FORWARD\",rule=\"-j ts-forward\",table=\"filter\"} 140534327\niptables_rule_packets_total{chain=\"FORWARD\",rule=\"-j ufw-after-forward\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"FORWARD\",rule=\"-j ufw-after-logging-forward\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"FORWARD\",rule=\"-j ufw-before-forward\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"FORWARD\",rule=\"-j ufw-before-logging-forward\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"FORWARD\",rule=\"-j ufw-reject-forward\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"FORWARD\",rule=\"-j ufw-track-forward\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"FORWARD\",rule=\"-o br-6379b058093a -j DOCKER\",table=\"filter\"} 646949\niptables_rule_packets_total{chain=\"FORWARD\",rule=\"-o br-6379b058093a -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT\",table=\"filter\"} 211814656\niptables_rule_packets_total{chain=\"FORWARD\",rule=\"-o docker0 -j DOCKER\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"FORWARD\",rule=\"-o docker0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"INPUT\",rule=\"-j ts-input\",table=\"filter\"} 28446758\niptables_rule_packets_total{chain=\"INPUT\",rule=\"-j ufw-after-input\",table=\"filter\"} 1047231\niptables_rule_packets_total{chain=\"INPUT\",rule=\"-j ufw-after-logging-input\",table=\"filter\"} 1036441\niptables_rule_packets_total{chain=\"INPUT\",rule=\"-j ufw-before-input\",table=\"filter\"} 41402627\niptables_rule_packets_total{chain=\"INPUT\",rule=\"-j ufw-before-logging-input\",table=\"filter\"} 41402627\niptables_rule_packets_total{chain=\"INPUT\",rule=\"-j ufw-reject-input\",table=\"filter\"} 1036441\niptables_rule_packets_total{chain=\"INPUT\",rule=\"-j ufw-track-input\",table=\"filter\"} 1036441\niptables_rule_packets_total{chain=\"OUTPUT\",rule=\"! -d 127.0.0.0/8 -m addrtype --dst-type LOCAL -j DOCKER\",table=\"nat\"} 450\niptables_rule_packets_total{chain=\"OUTPUT\",rule=\"-j ufw-after-logging-output\",table=\"filter\"} 1843105\niptables_rule_packets_total{chain=\"OUTPUT\",rule=\"-j ufw-after-output\",table=\"filter\"} 1843105\niptables_rule_packets_total{chain=\"OUTPUT\",rule=\"-j ufw-before-logging-output\",table=\"filter\"} 39955411\niptables_rule_packets_total{chain=\"OUTPUT\",rule=\"-j ufw-before-output\",table=\"filter\"} 39955411\niptables_rule_packets_total{chain=\"OUTPUT\",rule=\"-j ufw-reject-output\",table=\"filter\"} 1843105\niptables_rule_packets_total{chain=\"OUTPUT\",rule=\"-j ufw-track-output\",table=\"filter\"} 1843105\niptables_rule_packets_total{chain=\"POSTROUTING\",rule=\"-j MASQUERADE\",table=\"nat\"} 2279040\niptables_rule_packets_total{chain=\"POSTROUTING\",rule=\"-j ts-postrouting\",table=\"nat\"} 2344043\niptables_rule_packets_total{chain=\"POSTROUTING\",rule=\"-s 172.17.0.0/16 ! -o docker0 -j MASQUERADE\",table=\"nat\"} 104\niptables_rule_packets_total{chain=\"POSTROUTING\",rule=\"-s 172.18.0.0/16 ! -o br-6379b058093a -j MASQUERADE\",table=\"nat\"} 97464\niptables_rule_packets_total{chain=\"POSTROUTING\",rule=\"-s 172.18.0.3/32 -d 172.18.0.3/32 -p tcp -m tcp --dport 22 -j MASQUERADE\",table=\"nat\"} 0\niptables_rule_packets_total{chain=\"POSTROUTING\",rule=\"-s 172.18.0.3/32 -d 172.18.0.3/32 -p tcp -m tcp --dport 3000 -j MASQUERADE\",table=\"nat\"} 0\niptables_rule_packets_total{chain=\"PREROUTING\",rule=\"-m addrtype --dst-type LOCAL -j DOCKER\",table=\"nat\"} 1518992\niptables_rule_packets_total{chain=\"ts-forward\",rule=\"-i tailscale0 -j MARK --set-xmark 0x40000/0xff0000\",table=\"filter\"} 134257\niptables_rule_packets_total{chain=\"ts-forward\",rule=\"-m mark --mark 0x40000/0xff0000 -j ACCEPT\",table=\"filter\"} 134257\niptables_rule_packets_total{chain=\"ts-forward\",rule=\"-o tailscale0 -j ACCEPT\",table=\"filter\"} 126295\niptables_rule_packets_total{chain=\"ts-postrouting\",rule=\"-m mark --mark 0x40000/0xff0000 -j MASQUERADE\",table=\"nat\"} 0\niptables_rule_packets_total{chain=\"ufw-after-input\",rule=\"-m addrtype --dst-type BROADCAST -j ufw-skip-to-policy-input\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-after-input\",rule=\"-p tcp -m tcp --dport 139 -j ufw-skip-to-policy-input\",table=\"filter\"} 741\niptables_rule_packets_total{chain=\"ufw-after-input\",rule=\"-p tcp -m tcp --dport 445 -j ufw-skip-to-policy-input\",table=\"filter\"} 9444\niptables_rule_packets_total{chain=\"ufw-after-input\",rule=\"-p udp -m udp --dport 137 -j ufw-skip-to-policy-input\",table=\"filter\"} 560\niptables_rule_packets_total{chain=\"ufw-after-input\",rule=\"-p udp -m udp --dport 138 -j ufw-skip-to-policy-input\",table=\"filter\"} 14\niptables_rule_packets_total{chain=\"ufw-after-input\",rule=\"-p udp -m udp --dport 67 -j ufw-skip-to-policy-input\",table=\"filter\"} 17\niptables_rule_packets_total{chain=\"ufw-after-input\",rule=\"-p udp -m udp --dport 68 -j ufw-skip-to-policy-input\",table=\"filter\"} 14\niptables_rule_packets_total{chain=\"ufw-after-logging-forward\",rule=\"-m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix \\\"[UFW BLOCK] \\\"\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-after-logging-input\",rule=\"-m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix \\\"[UFW BLOCK] \\\"\",table=\"filter\"} 315837\niptables_rule_packets_total{chain=\"ufw-before-forward\",rule=\"-j ufw-user-forward\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-before-forward\",rule=\"-m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-before-forward\",rule=\"-p icmp -m icmp --icmp-type 11 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-before-forward\",rule=\"-p icmp -m icmp --icmp-type 12 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-before-forward\",rule=\"-p icmp -m icmp --icmp-type 3 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-before-forward\",rule=\"-p icmp -m icmp --icmp-type 8 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-before-input\",rule=\"-d 224.0.0.251/32 -p udp -m udp --dport 5353 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-before-input\",rule=\"-d 239.255.255.250/32 -p udp -m udp --dport 1900 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-before-input\",rule=\"-i lo -j ACCEPT\",table=\"filter\"} 15985056\niptables_rule_packets_total{chain=\"ufw-before-input\",rule=\"-j ufw-not-local\",table=\"filter\"} 1733486\niptables_rule_packets_total{chain=\"ufw-before-input\",rule=\"-j ufw-user-input\",table=\"filter\"} 1733486\niptables_rule_packets_total{chain=\"ufw-before-input\",rule=\"-m conntrack --ctstate INVALID -j DROP\",table=\"filter\"} 32617\niptables_rule_packets_total{chain=\"ufw-before-input\",rule=\"-m conntrack --ctstate INVALID -j ufw-logging-deny\",table=\"filter\"} 32617\niptables_rule_packets_total{chain=\"ufw-before-input\",rule=\"-m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT\",table=\"filter\"} 23334141\niptables_rule_packets_total{chain=\"ufw-before-input\",rule=\"-p icmp -m icmp --icmp-type 11 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-before-input\",rule=\"-p icmp -m icmp --icmp-type 12 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-before-input\",rule=\"-p icmp -m icmp --icmp-type 3 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-before-input\",rule=\"-p icmp -m icmp --icmp-type 8 -j ACCEPT\",table=\"filter\"} 317327\niptables_rule_packets_total{chain=\"ufw-before-input\",rule=\"-p udp -m udp --sport 67 --dport 68 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-before-output\",rule=\"-j ufw-user-output\",table=\"filter\"} 1843105\niptables_rule_packets_total{chain=\"ufw-before-output\",rule=\"-m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT\",table=\"filter\"} 22127250\niptables_rule_packets_total{chain=\"ufw-before-output\",rule=\"-o lo -j ACCEPT\",table=\"filter\"} 15985056\niptables_rule_packets_total{chain=\"ufw-logging-allow\",rule=\"-m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix \\\"[UFW ALLOW] \\\"\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-logging-deny\",rule=\"-m conntrack --ctstate INVALID -m limit --limit 3/min --limit-burst 10 -j RETURN\",table=\"filter\"} 31777\niptables_rule_packets_total{chain=\"ufw-logging-deny\",rule=\"-m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix \\\"[UFW BLOCK] \\\"\",table=\"filter\"} 133\niptables_rule_packets_total{chain=\"ufw-not-local\",rule=\"-j DROP\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-not-local\",rule=\"-m addrtype --dst-type BROADCAST -j RETURN\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-not-local\",rule=\"-m addrtype --dst-type LOCAL -j RETURN\",table=\"filter\"} 1733486\niptables_rule_packets_total{chain=\"ufw-not-local\",rule=\"-m addrtype --dst-type MULTICAST -j RETURN\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-not-local\",rule=\"-m limit --limit 3/min --limit-burst 10 -j ufw-logging-deny\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-skip-to-policy-forward\",rule=\"-j DROP\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-skip-to-policy-input\",rule=\"-j DROP\",table=\"filter\"} 10790\niptables_rule_packets_total{chain=\"ufw-skip-to-policy-output\",rule=\"-j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-track-output\",rule=\"-p tcp -m conntrack --ctstate NEW -j ACCEPT\",table=\"filter\"} 1197023\niptables_rule_packets_total{chain=\"ufw-track-output\",rule=\"-p udp -m conntrack --ctstate NEW -j ACCEPT\",table=\"filter\"} 643584\niptables_rule_packets_total{chain=\"ufw-user-input\",rule=\"-p tcp -m multiport --dports 80,443  -j ACCEPT\",table=\"filter\"} 384990\niptables_rule_packets_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 1022 -j ACCEPT\",table=\"filter\"} 109\niptables_rule_packets_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 110 -j DROP\",table=\"filter\"} 1299\niptables_rule_packets_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 22  -j ACCEPT\",table=\"filter\"} 292613\niptables_rule_packets_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 25 -j DROP\",table=\"filter\"} 3939\niptables_rule_packets_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 30000 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 51820 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 587 -j DROP\",table=\"filter\"} 1351\niptables_rule_packets_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 9001 -j DROP\",table=\"filter\"} 608\niptables_rule_packets_total{chain=\"ufw-user-input\",rule=\"-p tcp -m tcp --dport 993 -j DROP\",table=\"filter\"} 1281\niptables_rule_packets_total{chain=\"ufw-user-input\",rule=\"-p udp -m udp --dport 110 -j DROP\",table=\"filter\"} 1\niptables_rule_packets_total{chain=\"ufw-user-input\",rule=\"-p udp -m udp --dport 25 -j DROP\",table=\"filter\"} 47\niptables_rule_packets_total{chain=\"ufw-user-input\",rule=\"-p udp -m udp --dport 30000 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-user-input\",rule=\"-p udp -m udp --dport 51820 -j ACCEPT\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-user-input\",rule=\"-p udp -m udp --dport 587 -j DROP\",table=\"filter\"} 7\niptables_rule_packets_total{chain=\"ufw-user-input\",rule=\"-p udp -m udp --dport 993 -j DROP\",table=\"filter\"} 8\niptables_rule_packets_total{chain=\"ufw-user-limit\",rule=\"-j REJECT --reject-with icmp-port-unreachable\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-user-limit\",rule=\"-m limit --limit 3/min -j LOG --log-prefix \\\"[UFW LIMIT BLOCK] \\\"\",table=\"filter\"} 0\niptables_rule_packets_total{chain=\"ufw-user-limit-accept\",rule=\"-j ACCEPT\",table=\"filter\"} 0\n# HELP iptables_rules_total Total number of rules in a chain in a table\n# TYPE iptables_rules_total gauge\niptables_rules_total{chain=\"DOCKER\",table=\"filter\"} 2\niptables_rules_total{chain=\"DOCKER\",table=\"nat\"} 4\niptables_rules_total{chain=\"DOCKER-ISOLATION-STAGE-1\",table=\"filter\"} 3\niptables_rules_total{chain=\"DOCKER-ISOLATION-STAGE-2\",table=\"filter\"} 3\niptables_rules_total{chain=\"DOCKER-USER\",table=\"filter\"} 1\niptables_rules_total{chain=\"FORWARD\",table=\"filter\"} 17\niptables_rules_total{chain=\"INPUT\",table=\"filter\"} 7\niptables_rules_total{chain=\"INPUT\",table=\"nat\"} 0\niptables_rules_total{chain=\"OUTPUT\",table=\"filter\"} 6\niptables_rules_total{chain=\"OUTPUT\",table=\"nat\"} 1\niptables_rules_total{chain=\"POSTROUTING\",table=\"nat\"} 6\niptables_rules_total{chain=\"PREROUTING\",table=\"nat\"} 3\niptables_rules_total{chain=\"ts-forward\",table=\"filter\"} 4\niptables_rules_total{chain=\"ts-input\",table=\"filter\"} 3\niptables_rules_total{chain=\"ts-postrouting\",table=\"nat\"} 1\niptables_rules_total{chain=\"ufw-after-forward\",table=\"filter\"} 0\niptables_rules_total{chain=\"ufw-after-input\",table=\"filter\"} 7\niptables_rules_total{chain=\"ufw-after-logging-forward\",table=\"filter\"} 1\niptables_rules_total{chain=\"ufw-after-logging-input\",table=\"filter\"} 1\niptables_rules_total{chain=\"ufw-after-logging-output\",table=\"filter\"} 0\niptables_rules_total{chain=\"ufw-after-output\",table=\"filter\"} 0\niptables_rules_total{chain=\"ufw-before-forward\",table=\"filter\"} 6\niptables_rules_total{chain=\"ufw-before-input\",table=\"filter\"} 13\niptables_rules_total{chain=\"ufw-before-logging-forward\",table=\"filter\"} 0\niptables_rules_total{chain=\"ufw-before-logging-input\",table=\"filter\"} 0\niptables_rules_total{chain=\"ufw-before-logging-output\",table=\"filter\"} 0\niptables_rules_total{chain=\"ufw-before-output\",table=\"filter\"} 3\niptables_rules_total{chain=\"ufw-logging-allow\",table=\"filter\"} 1\niptables_rules_total{chain=\"ufw-logging-deny\",table=\"filter\"} 2\niptables_rules_total{chain=\"ufw-not-local\",table=\"filter\"} 5\niptables_rules_total{chain=\"ufw-reject-forward\",table=\"filter\"} 0\niptables_rules_total{chain=\"ufw-reject-input\",table=\"filter\"} 0\niptables_rules_total{chain=\"ufw-reject-output\",table=\"filter\"} 0\niptables_rules_total{chain=\"ufw-skip-to-policy-forward\",table=\"filter\"} 1\niptables_rules_total{chain=\"ufw-skip-to-policy-input\",table=\"filter\"} 1\niptables_rules_total{chain=\"ufw-skip-to-policy-output\",table=\"filter\"} 1\niptables_rules_total{chain=\"ufw-track-forward\",table=\"filter\"} 0\niptables_rules_total{chain=\"ufw-track-input\",table=\"filter\"} 0\niptables_rules_total{chain=\"ufw-track-output\",table=\"filter\"} 2\niptables_rules_total{chain=\"ufw-user-forward\",table=\"filter\"} 0\niptables_rules_total{chain=\"ufw-user-input\",table=\"filter\"} 17\niptables_rules_total{chain=\"ufw-user-limit\",table=\"filter\"} 2\niptables_rules_total{chain=\"ufw-user-limit-accept\",table=\"filter\"} 1\niptables_rules_total{chain=\"ufw-user-logging-forward\",table=\"filter\"} 0\niptables_rules_total{chain=\"ufw-user-logging-input\",table=\"filter\"} 0\niptables_rules_total{chain=\"ufw-user-logging-output\",table=\"filter\"} 0\niptables_rules_total{chain=\"ufw-user-output\",table=\"filter\"} 0\n# HELP iptables_scrape_duration_milliseconds Duration in milliseconds of the scrape\n# TYPE iptables_scrape_duration_milliseconds gauge\niptables_scrape_duration_milliseconds 6\n# HELP iptables_scrape_success If the scrape was a success\n# TYPE iptables_scrape_success gauge\niptables_scrape_success 1\n# HELP prometheus_exporter_request_duration_seconds HTTP request durations in seconds\n# TYPE prometheus_exporter_request_duration_seconds histogram\nprometheus_exporter_request_duration_seconds_bucket{le=\"0.005\"} 4\nprometheus_exporter_request_duration_seconds_bucket{le=\"0.01\"} 4\nprometheus_exporter_request_duration_seconds_bucket{le=\"0.025\"} 4\nprometheus_exporter_request_duration_seconds_bucket{le=\"0.05\"} 4\nprometheus_exporter_request_duration_seconds_bucket{le=\"0.1\"} 4\nprometheus_exporter_request_duration_seconds_bucket{le=\"0.25\"} 4\nprometheus_exporter_request_duration_seconds_bucket{le=\"0.5\"} 4\nprometheus_exporter_request_duration_seconds_bucket{le=\"1\"} 4\nprometheus_exporter_request_duration_seconds_bucket{le=\"2.5\"} 4\nprometheus_exporter_request_duration_seconds_bucket{le=\"5\"} 4\nprometheus_exporter_request_duration_seconds_bucket{le=\"10\"} 4\nprometheus_exporter_request_duration_seconds_bucket{le=\"+Inf\"} 4\nprometheus_exporter_request_duration_seconds_sum 0.006526718000000001\nprometheus_exporter_request_duration_seconds_count 4\n# HELP prometheus_exporter_requests_total HTTP requests received\n# TYPE prometheus_exporter_requests_total counter\nprometheus_exporter_requests_total 5\n# HELP prometheus_exporter_response_size_bytes HTTP response sizes in bytes\n# TYPE prometheus_exporter_response_size_bytes gauge\nprometheus_exporter_response_size_bytes 43102\n```\n\n# License\n\nThis project is dual licensed under the terms of either the MIT or Apache 2.0\nat your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkbknapp%2Fiptables_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkbknapp%2Fiptables_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkbknapp%2Fiptables_exporter/lists"}