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

Create README.md #3

Closed
wants to merge 1 commit into from
Closed

Create README.md #3

wants to merge 1 commit into from

Conversation

neobrain
Copy link

@neobrain neobrain commented Apr 4, 2019

I found no other documentation on this tool, so I had to dig into the source to figure out which network port to whitelist. Having this readme should save others (and future me) the trouble of finding this information.

I found no other documentation on this tool, so I had to dig into the source to figure out which network port to whitelist. Having this readme should save others (and future me) the trouble of finding this information.
@neobrain
Copy link
Author

neobrain commented Apr 4, 2019

On second look at main.c, should the readme say both UDP and TCP?

Also, I still seem to have trouble getting port forwarding from within Docker to work. Are there any non-obvious ports used by 3dslink other than 17491?

EDIT: As usual with these things, the answer reveals itself a couple of minutes after stating the question in public: I was using 3dslink in broadcast mode (i.e. without pointing it to the 3DS's IP address). My guess is Docker's forwarding mechanism doesn't support broadcasting. Using 3dslink with the -a switch works perfectly :)

@WinterMute
Copy link
Member

You could try starting the container with --network=host which I think should allow broadcast to work. The docker default bridge network has it's own subnet, iirc, and broadcast packets won't cross subnet boundaries.

@neobrain
Copy link
Author

neobrain commented Apr 4, 2019

Fantastic, using --network=host gets broadcasting working indeed! 🎉

@neobrain
Copy link
Author

neobrain commented Apr 6, 2019

Is the patch fine other than that? Anything you'd like to see changed?

@WinterMute WinterMute closed this Sep 7, 2024
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.

2 participants