firewallcmd

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableRichRuleForIP

func DisableRichRuleForIP(ipAddr string) (string, error)

DisableRichRuleForIP disables rich rule for IP access + reloads

func EnableRichRuleForIP

func EnableRichRuleForIP(ipAddr string) (string, error)

EnableRichRuleForIP enables rich rule for IP access + reloads example: firewall-cmd --permanent --zone=public --add-rich-rule='rule family="ipv4" source address="10.10.99.10/32" port protocol="tcp" port="22" accept'

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL