feat: add new interface method to firewals
All checks were successful
build / build (push) Successful in 3m9s

This commit is contained in:
d3m0k1d
2026-02-09 19:50:06 +03:00
parent b8b9b227a9
commit 9519eedf4f
7 changed files with 70 additions and 1 deletions

View File

@@ -166,6 +166,14 @@ func (n *Nftables) findRuleHandle(ip string) (string, error) {
return "", nil
}
func (n *Nftables) PortOpen(port int) error {
return nil
}
func (n *Nftables) PortClose(port int) error {
return nil
}
func saveNftablesConfig(configPath string) error {
err := validateConfigPath(configPath)
if err != nil {