# Functions
AddInterfaceFirewalld adds the interface to the trusted zone.
DeleteConntrackEntries deletes all the conntrack connections on the host for the specified IP Returns the number of flows deleted for IPv4, IPv6 else error.
No description provided by the author
DelInterfaceFirewalld removes the interface from the trusted zone It is a no-op if firewalld is not running.
GetIptable returns an instance of IPTable with specified version ([IPv4] or [IPv6]).
OnReloaded add callback.
Passthrough method simply passes args through to iptables/ip6tables.
# Constants
Accept is the default iptables ACCEPT policy.
Append appends the rule at the end of the chain.
Delete deletes the rule from the chain.
Drop is the default iptables DROP policy.
Filter table is used for filter rules.
Insert inserts the rule at the top of the chain.
IP6Tables point to ipv6 table.
Iptables point ipv4 table.
IPv4 is version 4.
IPv6 is version 6.
Mangle table is used for mangling the packet.
Nat table is used for nat translation rules.
# Structs
ChainError is returned to represent errors during ip table operation.
ChainInfo defines the iptables chain.
Conn is a connection to firewalld dbus endpoint.
IPTable defines struct with [IPVersion].