package com.ruoyi.cc.service;

import com.ruoyi.cc.domain.FirewallRule;

import java.util.List;

public interface IFirewallService {
    boolean add(FirewallRule rule) throws Exception;

    List<FirewallRule> getAllList() throws Exception;

    boolean delete(FirewallRule rule) throws  Exception;

    boolean update(FirewallRule rule) throws Exception;

    String reloadFirewalld()  throws Exception ;
}
