r/opencode • u/sasreedit • 16d ago
Exclude local device/network access
I wish to exclude access to other connected devices on the same network.
According to docs, I simply execute the below line in Terminal? I'm assuming this is broad, right? I mean, this will restrict device connections by any other app/device? Or is this simply to exclude OpenCode from access?
export HTTP_PROXY=http://proxy.example.com:8080
export HTTPS_PROXY=http://proxy.example.com:8080
export NO_PROXY=localhost,127.0.0.1,::1
1
Upvotes
View all comments
Show parent comment
2
u/n_santana8062 16d ago
For a hard boundary, enforce egress rules around OpenCode and its child tools, including IPv6 private/link-local ranges; proxy settings alone don't isolate LAN access.