You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add network.mode = "proxy" that runs a forward proxy on the host TAP interface. The VM routes all HTTP/HTTPS through it via HTTP_PROXY/HTTPS_PROXY env vars. Host-side nftables blocks direct egress that bypasses the proxy.
Why: The current filtered mode operates at L3/L4 (domain allowlist via split-DNS + nftables). It cannot distinguish HTTP methods or URL paths — if github.com is allowed, both git clone and exfiltration via public Gist are permitted. A proxy enables L7 filtering: allow GET but block POST to the same domain.
Add
network.mode = "proxy"that runs a forward proxy on the host TAP interface. The VM routes all HTTP/HTTPS through it viaHTTP_PROXY/HTTPS_PROXYenv vars. Host-side nftables blocks direct egress that bypasses the proxy.Why: The current
filteredmode operates at L3/L4 (domain allowlist via split-DNS + nftables). It cannot distinguish HTTP methods or URL paths — ifgithub.comis allowed, bothgit cloneand exfiltration via public Gist are permitted. A proxy enables L7 filtering: allowGETbut blockPOSTto the same domain.Proposed config:
Scope:
~/.nixbox/logs/<project>/proxy.logdo_create, PID in state dir, killed indo_destroynixbox network reload(see feat: hot-reload network settings without VM restart #2 )