Skip to main content

Use GitHub Git and API through restricted Internet Access

Outcome: A build or administration host can fetch Git metadata and call a required HTTPS API via DRLink, but cannot browse unrelated destinations through the proxy. Example: protected host 10.20.30.16 → proxy 10.20.30.5:6080 → github.com:443 and api.github.com:443 only. Adapt to your application and observed NAT source.

Step 1 — validate the actual proxy listener

Real Data Relay Link CLI capture — Internet Access before policy creation: No Policy, Unmatched DENY, FAIL CLOSED. This is NOT an approved-traffic result. Figure 1. Internet Access before policy creation: No Policy, Unmatched DENY, FAIL CLOSED. This is NOT an approved-traffic result. CLI output example; sensitive addresses and hostnames are masked. Server REPL:
Take the listener address/port from current Server diagnostics, not a legacy config file. Configure the external firewall to accept only approved protected-host sources.

Step 2 — define source and HTTPS destinations

Server REPL:

Step 3 — create the WHITELIST

Real Data Relay Link CLI capture — Real command help: test internet-access selects existing Objects/Groups and validates authorization only. Figure 2. Real command help: test internet-access selects existing Objects/Groups and validates authorization only. CLI output example; sensitive addresses and hostnames are masked. Server REPL:
Expected: both exact hostname selectors ALLOW. There must be no blanket ANY or generic wildcard rule.

Step 4 — run real proxy-aware applications

Protected host shell, in a subshell so proxy settings do not leak into the operator’s login session:
Expected: Git returns a commit SHA for HEAD, the API request travels through the proxy (the API response may depend on upstream rate limits), and the third request receives an explicit DRLink policy DENY. If the inherited no_proxy/NO_PROXY includes those public hostnames, remove such bypasses for this scoped test only, rather than declaring that direct traffic was relayed.

Step 5 — confirm audit and real routing

Real Data Relay Link CLI capture — Captured Server status before policy setup: Remote Access default ALLOW; Internet Access and AI Access default DENY. Figure 3. Captured Server status before policy setup: Remote Access default ALLOW; Internet Access and AI Access default DENY. CLI output example; sensitive addresses and hostnames are masked. Server REPL:
Verify source IP, destination hostname/port and matched policy result. The test command is a policy simulation; the Git/curl commands provide application traffic. If clone operations later access codeload.github.com or other domains, approve them one by one according to actual evidence rather than widening the allowlist.

Recovery

  • DENY for approved Git: check proxy-visible source, actual URL authority and exact policy selectors.
  • TLS trust error: repair destination trust/certificates or a documented application proxy trust chain; DRLink does not decrypt the target TLS.
  • Proxy timeout: check the listener and external firewall separately from a policy denial.
  • Unwanted broad access: inspect all enabled Internet Access rules and Network/Service Group membership; disable the offending Rule or change it through reviewed policy mutation. Internet Access disabled enforcement is DENY ALL.

Current behavior check — 2026-10-28

Use explicit proxy routing in the application test and clear public-host no_proxy bypasses only for that invocation. A Managed Host source selector matches only a provable active proxy-visible peer IP; behind NAT use the observed IP/CIDR. No UDP or private/metadata destination bypass is implied by an FQDN allowlist. Current CLI inventory · MCP compatibility
Last modified on October 28, 2026