r/opencode • u/sasreedit • 8d 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
1
u/sasreedit 8d ago
Okay, thanks. Would I then restrict OpenCode to public, blocking private network access?