code: func setINC(iface string, enable bool) error {
  	var (
  		action    = iptables.Insert
  		actionMsg = "add"
  		chains    = []string{IsolationChain1, IsolationChain2}
  		rules     = [][]string{
  			{"-i", iface, "!", "-o", iface, "-j", IsolationChain2},
  			{"-o", iface, "-j", "DROP"},
  		}
  	)
  
  	if !enable {
  		action = iptables.Delete
  		actionMsg = "remove"
  	}
  
  	for i, chain := range chains {
  		if err := iptables.ProgramRule(iptables.Filter, chain, action, rules[i]); err != nil {
  			msg := fmt.Sprintf("unable to %s inter-network communication rule: %v", actionMsg, err)
  			if enable {
  				if i == 1 {
  					// Rollback the rule installed on first chain
  					if err2 := iptables.ProgramRule(iptables.Filter, chains[0], iptables.Delete, rules[0]); err2 != nil {
  						logrus.Warn("Failed to rollback iptables rule after failure (%v): %v", err, err2)
  					}
  				}
  				return fmt.Errorf(msg)
  			}
  			logrus.Warn(msg)
  		}
  	}
  
  	return nil
  }
docs: // Control Inter Network Communication. Install[Remove] only if it is [not] present.