Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { HTTPS bool Insecure bool IPv6 bool Port int FirewallIP string Logname string Login string Password string AllowedIPs []interface{} }
Client = provider configuration.
type Rule ¶
type Rule struct { Except bool Fragment bool Notrack bool Action string State string Icmptype string Chain string Proto string IfaceIn string IfaceOut string Iface string IPSrc string IPDst string IPNat string Sports string Dports string Tcpflags1 string Tcpflags2 string Position string NthEvery string NthPacket string Logprefix string Tcpmss string }
Rule struc for generate iptables line.
Click to show internal directories.
Click to hide internal directories.