-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
Associate port forward to a domain name #171
Comments
quick thought on a solution - i'd have to change the /etc/hosts file on the machine, and that might mess things up on the user's local machine. but i'll think on it and circle back with more info... having the domain with the same alias would be a cool feature, thanks for the feedback! |
@merlindorin released ! https://github.com/hcavarsan/kftray/releases/tag/v0.9.0 when adding a new configuration, you can now choose to use an alias as a local domain name. If this option is enabled, when starting a new port forward in this configuration, kftray will add a new entry to the host file of the OS. This entry will add the alias and the local address. (this entry will be removed when port forwarding stops.) can you check if it helps? If you have any questions, please let me know |
This is awesome, gonna check that once I am back from vacation . Thx! |
Hi @hcavarsan , checking the feature and it is not working. I also checked the host file and it is unmodified. I have this configuration: Some check I've done:
|
hey @merlindorin , im reopening the issue to look into it... could you give me some more details:
ill see if i can simulate the issue on my end. thx for the feedback! |
hey, @merlindorin! are you still having the issue with the alias? |
Re, sry for the delay.
btw, the brew installation method does not work on MacOS. The installer needs pnpm and even if it is installed it still need it...
|
@merlindorin got it! to install with brew, you need to install xcode first using also, could you run KFTray with enabled logs and check for errors in the logs? you can share the logs with me if you prefer. io generate the logs, run this command in the terminal:
The logs file will be created in |
xcode is already installed. The issue is About the issue by itself... well it is now clear enough:
|
@merlindorin It looks like the problem is with the
These solutions are not the most secure since they grant write permission to the file itself, but they will resolve the issue for now. I'll keep this issue open to track the progress of the possible implementation to a more secure way (although it's unclear if that's feasible, as the app requires write permissions in the hosts file), is that okay with you? Regarding the Thank you for the analysis and logs. |
Awesome! Thanks a lot. Each day is a better day ;) |
cool @merlindorin, i opened issue #230 to track and improve the local domain changes. thx for reporting these issues with kftray, it really makes the app better and more consistent :) |
Has this issue been addressed? |
not yet |
Is your feature request related to a problem? Please describe.
I can have a lot of port-forward but naming them and having the ability to use them easily will be nice :).
Describe the solution you'd like
Add the ability to associate a domain to a forward. A local reverse proxy would be nice :) .
Describe alternatives you've considered
Nope, I am lazy
The text was updated successfully, but these errors were encountered: