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

nxlink: add option to override netloader target port #45

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

noahc3
Copy link

@noahc3 noahc3 commented Feb 22, 2023

This PR adds an additional command line argument to override NETLOADER_SERVER_PORT via --port [port] or -z [port].

Note: -p is already used for path, so I arbitrarily chose -z as the single letter flag for port.

Use-case: I have a remote server configured for Switch homebrew development which is used by multiple people. We use SSH tunnelling to forward the nxlink port to our Switch/emulator on local network, however only one person can do this at a time if we are limited to the default port. By allowing to override the port, we can choose any remote port for the SSH tunnel allowing multiple users to use nxlink simultaneously.

I know this use-case is niche considering there is no way to configure the netloader port in hbmenu by itself, so I understand if this PR is closed as out-of-scope.

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.

1 participant