Skip to content

SLIRP_HOST_GATEWAY

const SLIRP_HOST_GATEWAY: "10.0.2.2" = "10.0.2.2"

Defined in: src/egress.ts:312

slirp4netns host-loopback gateway: inside the netns this IP routes to the host’s 127.0.0.1 (reachable once --disable-host-loopback is dropped from the slirp invocation).