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

Add an override-endpoint-port command #308

Open
bschwind opened this issue Apr 11, 2024 · 2 comments
Open

Add an override-endpoint-port command #308

bschwind opened this issue Apr 11, 2024 · 2 comments
Assignees

Comments

@bschwind
Copy link
Member

Someone chime in if this doesn't make sense, but while we have the option to override an endpoint (IP + port), we don't have the ability to override just the port.

This could be nice for machines that don't have a stable IP, but have port forwarding configured on their router.

@skywhale
Copy link
Member

where do we take the IP from? do we already have a mechanism to query outside to get a global IP?

maybe override-endpoint-port to avoid confusion with the local listen port.

@bschwind
Copy link
Member Author

When we run override-endpoint, we query 1.1.1.1 to get the external endpoint.

The innernet server also takes note of the IP used by the client to connect to the server.

And yeah override-endpoint-port or something similar makes sense to avoid confusion with the listening port.

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

No branches or pull requests

2 participants