Skip to content
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

feat: add support for Auto IP #1735

Merged
merged 2 commits into from
Apr 11, 2023
Merged

feat: add support for Auto IP #1735

merged 2 commits into from
Apr 11, 2023

Conversation

enocom
Copy link
Member

@enocom enocom commented Apr 6, 2023

This commit restores a legacy behavior of the v1 Proxy, this time behind the flag --auto-ip. When the flag is enabled, the Proxy will first attempt to use a public IP. If no public IP is present, the Proxy will second attempt to use a private IP. If neither is present, the Proxy errors as expected.

This new flag is primarily to support legacy behavior and should not be used in production otherwise.

Fixes #1732.

@enocom enocom requested a review from a team as a code owner April 6, 2023 19:49
@enocom
Copy link
Member Author

enocom commented Apr 6, 2023

We need to add this option to the FUSE path as well. Currently FUSE assumes public IP always.

EDIT: I'll split this wiring out as a separate fix PR.

This commit restores a legacy behavior of the v1 Proxy, this time behind
the flag --auto-ip. When the flag is enabled, the Proxy will first
attempt to use a public IP. If no public IP is present, the Proxy will
second attempt to use a private IP. If neither is present, the Proxy
errors as expected.

This new flag is primarily to support legacy behavior and should not be
used in production otherwise.
@enocom enocom merged commit 83c8a64 into main Apr 11, 2023
@enocom enocom deleted the auto-ip branch April 11, 2023 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for "Auto IP"
2 participants