> Source: [sk165116](https://support.checkpoint.com/results/sk/sk165116)

# sk165116 - TOR blocking error on MDS environment when running shell script

| Property | Value |
|----------|-------|
| Solution ID | sk165116 |
| Date Created | 2020-02-11 |
| Last Modified | 2020-02-12 |
| Technical Level | Advanced |
| Products | Multi-Domain Security Management Server |
| Versions | R82.10, R81.20, R82, R82.20 |
| OS | Gaia |

## Symptoms

- "Error: could not retrieve FWDIR from \<Gateway IP\>" on Multi-Domain Server when running shell scripts while the cprid process is up and running.

## Cause

The [shell scripts](https://supportcenter.checkpoint.com/supportcenter/portal/role/supportcenterUser/page/default.psml/media-type/html?action=portlets.DCFileAction&eventSubmit_doGetdcdetails=&fileid=56231) to block traffic from custom IP feeds (see [sk103154](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk103154)), was executed from MDS environment instead of the environment of Domain/CMA.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
