-
Notifications
You must be signed in to change notification settings - Fork 0
fix(gateway): update Tailscale configuration and change bind address to loopback #1855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -971,13 +971,17 @@ | |||||
| }, | ||||||
| "gateway": { | ||||||
| "mode": "local", | ||||||
| "bind": "lan", | ||||||
| "bind": "loopback", | ||||||
| "tailscale": { | ||||||
| "mode": "serve", | ||||||
| "resetOnExit": false | ||||||
| }, | ||||||
| "controlUi": { | ||||||
| "allowedOrigins": [ | ||||||
| "http://localhost:18789", | ||||||
| "http://127.0.0.1:18789", | ||||||
| "https://openclaw.shunkakinoki.com", | ||||||
| "https://kyber.tail950b36.ts.net:18789" | ||||||
| "https://kyber.tail950b36.ts.net" | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hardcoding a specific Tailnet domain (
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Worth flagging that
If you want to make this generic, the domain probably belongs in
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Origin allow-list intent is undocumented: After this PR the list spans three transports — direct loopback ( |
||||||
| ] | ||||||
| }, | ||||||
| "auth": { | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -971,13 +971,17 @@ | |
| }, | ||
| "gateway": { | ||
| "mode": "local", | ||
| "bind": "lan", | ||
| "bind": "loopback", | ||
| "tailscale": { | ||
| "mode": "serve", | ||
| "resetOnExit": false | ||
| }, | ||
| "controlUi": { | ||
| "allowedOrigins": [ | ||
| "http://localhost:18789", | ||
| "http://127.0.0.1:18789", | ||
| "https://openclaw.shunkakinoki.com", | ||
| "https://kyber.tail950b36.ts.net:18789" | ||
| "https://kyber.tail950b36.ts.net" | ||
| ] | ||
| }, | ||
| "auth": { | ||
|
Comment on lines
972
to
987
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file (
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting
resetOnExittofalsemeans that the Tailscale serve/funnel configuration will persist even after the OpenClaw gateway process exits. This can leave dangling public/Tailnet endpoints pointing to an inactive port, which is an operational and potential security risk if another local process binds to that port later. Consider settingresetOnExittotrueto ensure clean teardown on exit.