rust-iptables
A iptables bindings for Rust.
Overview
Rust bindings for iptables, it provides a few major components:
- high-level handles, such as save/restore
- table/chain/rule support
- IPv4/IPv6 support
Example
A basic chain/table example.
[]
= { = "0.0.2" }
Then, on your main.rs:
use iptables;
More examples can be found here.
Supported Rust Versions
This library is verified to work in rustc 1.51.0 (nightly), and the support of other versions needs more testing.
License
This project is licensed under the Apache License 2.0.