Specifying The Runner Network - testflows/TestFlows-GitHub-Hetzner-Runners GitHub Wiki
By default, the runner will be configured with both IPv4 and IPv6 networks.
The net-{name} runner label specifies which networks to enable on the runner. Where {name} is ipv4 or ipv6.
- net-ipv4: Enable IPv4 only.
- net-ipv6: Enable IPv6 only.
- net-ipv4, net-ipv6: Enable both IPv4 and IPv6 on the runner.
- If no network labels are specified, both IPv4 and IPv6 will be enabled.
❗Warning: |
Not all services support IPv6—for example, GitHub does not support IPv6. To enable access to IPv4-only services like https://github.com, you can use the setup script ipv6.sh. This script configures the runner to use the public NAT64 service, allowing seamless connectivity to IPv4-only endpoints. For example, job-name:
runs-on: [self-hosted, type-cx22, net-ipv6, setup-ipv6] |
---|---|
❗Warning: |
The public NAT64 service is intended only for lightweight network traffic. For production use, you should configure and operate your own service. |