Skip to content

port forwarding defaults to making the host port publicly accessible #7132

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

Open
coulombhunter opened this issue Apr 16, 2025 · 0 comments
Open
Labels
interface Design, UX/UI issues settings Anything in the setting/create views
Milestone

Comments

@coulombhunter
Copy link

Setting up a port forward in the GUI on mac, while in the "Simulated Vlan" mode, exposes the host port publicly by default, even though the UI might lead you to believe it wouldn't.

The UI config for a port-forward (image edit → network → port → add/edit) has a field to specify the host address (third field, tooltip "Host Address") that contains a greyed out 127.0.0.1 if unspecified, but actually seems to default to 0.0.0.0 if you leave it empty, thus exposing the host port outside of the host machine.

Replacing the greyed out 127.0.0.1 with an explicit 127.0.0.1 makes it actually bind the host port to 127.0.0.1:the_port and then doesn't expose it.

Either making the default actually be 127.0.0.1 or changing the greyed out text to 0.0.0.0 to reflect the actual default might be an improvement

(mac os 15, UTM Version 4.6.5 (108), mac chip M3)

Thank you for maintaining this very nice tool btw!

@osy osy added this to the Future milestone Apr 16, 2025
@osy osy added interface Design, UX/UI issues settings Anything in the setting/create views labels Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interface Design, UX/UI issues settings Anything in the setting/create views
Projects
None yet
Development

No branches or pull requests

2 participants