The deploy runner holds the SSH key to docker. If anything on it were compromised, blocking outbound internet stops data from leaving and stops second-stage downloads.
Enterprise practice: network-isolated build and deploy agents with an egress allow-list.
Depends on #5 (plain git checkout, so the runner no longer needs GitHub).
Steps
Enable the Proxmox firewall for the ansible LXC (Datacenter, node and the container's network device)
Set its outbound policy to DROP and allow only: DNS to the local resolver, Gitea HTTP(S) and SSH on docker, NTP
Decide how OS updates reach it: a small apt cache (apt-cacher-ng) on the LAN, or a temporary allow rule during updates
Verify: Check Connectivity still passes; curl https://example.com from the LXC fails
Document the rule set and the update procedure in the README
Tools
Proxmox VE firewall, optionally apt-cacher-ng.
Done when
The deploy runner reaches only Gitea and the hosts it deploys to, and the pipeline still passes.
The deploy runner holds the SSH key to `docker`. If anything on it were compromised, blocking outbound internet stops data from leaving and stops second-stage downloads.
**Enterprise practice:** network-isolated build and deploy agents with an egress allow-list.
Depends on #5 (plain git checkout, so the runner no longer needs GitHub).
## Steps
- [ ] Enable the Proxmox firewall for the `ansible` LXC (Datacenter, node and the container's network device)
- [ ] Set its outbound policy to DROP and allow only: DNS to the local resolver, Gitea HTTP(S) and SSH on `docker`, NTP
- [ ] Decide how OS updates reach it: a small apt cache (apt-cacher-ng) on the LAN, or a temporary allow rule during updates
- [ ] Verify: Check Connectivity still passes; `curl https://example.com` from the LXC fails
- [ ] Document the rule set and the update procedure in the README
## Tools
Proxmox VE firewall, optionally apt-cacher-ng.
## Done when
The deploy runner reaches only Gitea and the hosts it deploys to, and the pipeline still passes.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The deploy runner holds the SSH key to
docker. If anything on it were compromised, blocking outbound internet stops data from leaving and stops second-stage downloads.Enterprise practice: network-isolated build and deploy agents with an egress allow-list.
Depends on #5 (plain git checkout, so the runner no longer needs GitHub).
Steps
ansibleLXC (Datacenter, node and the container's network device)docker, NTPcurl https://example.comfrom the LXC failsTools
Proxmox VE firewall, optionally apt-cacher-ng.
Done when
The deploy runner reaches only Gitea and the hosts it deploys to, and the pipeline still passes.