[Feature]: Better support for having multiple NICs/IPs
Before submitting
- [x] I searched existing issues and did not find a duplicate.
- [x] I am describing a concrete problem or use case, not just a vague idea.
Area
apps/web
Problem or use case
My host machine has a handful of IP addresses (due to multi-homing and WireGuard). T3 Code picked the wrong address for the Reachable at note under "Network access".
Which also means that the copy button fills in a URL that requires correction.
Proposed solution
Likely the easiest option would be a second entry just below the "Network access" toggle (that shows up when it's toggled on). That allows for entering a custom URL/hostname. With the current logic as the default when this isn't set.
Note: I set this to apps/web as it could be implmented fully within the UI, excluding any durability of state.
Why this matters
It would make the copied address work as-is.
Smallest useful scope
An option to type a custom hostname, that then corrects the address generated for the copy button using the provided value as the hostname.
Durability of this value isn't required to make it useful.
Alternatives considered
Manually updating the IP in the copied URL.
Risks or tradeoffs
UI bloat for normal setups.
Examples or references
No response
Contribution
- [x] I would be open to helping implement this.
I was gonna do this for launch but sort of forgot to 🙃 Happy to merge a PR
Well, I seemingly can not get a dev enviroment working on windows.
dev:server complains about no PTY support on windows.
dev:web works, kind of, lots of proxy errors (I think because there's no server?).
dev:desktop complains about electron not being installed correctly.
Yet another reason to move off of windows...
Regardless, I don't think I'll actually be able to work on it unfortunately.
@LiquidBacn I got you! Check out my PR #2086
@juliusmarminge hope this helps