feat: add iptables
This commit is contained in:
6
__network/iptables/src/main.rs
Normal file
6
__network/iptables/src/main.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
let ip_tables = iptables::new(false).unwrap();
|
||||
let ip_tables_filter_result = ip_tables.list_table("filter");
|
||||
println!("{:#?}", ip_tables_filter_result);
|
||||
}
|
||||
Reference in New Issue
Block a user