[GH-ISSUE #280] UPnP not working with D-Link router #135

Closed
opened 2026-02-27 15:49:00 +03:00 by kerem · 12 comments
Owner

Originally created by @itapi on GitHub (Jul 18, 2015).
Original GitHub issue: https://github.com/quasar/Quasar/issues/280

hi. first of all i would like to say your work is awesome.
but im trying to connect from computer in other network(not on lan) i entered my external ip instead of "localhost" and checked the "try to auto port forward" option. but it doesnt works. seems like nothing happend. i would apperciate any help. my firewall is turned off and no antivirus or somthing.

Originally created by @itapi on GitHub (Jul 18, 2015). Original GitHub issue: https://github.com/quasar/Quasar/issues/280 hi. first of all i would like to say your work is awesome. but im trying to connect from computer in other network(not on lan) i entered my external ip instead of "localhost" and checked the "try to auto port forward" option. but it doesnt works. seems like nothing happend. i would apperciate any help. my firewall is turned off and no antivirus or somthing.
kerem 2026-02-27 15:49:00 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MaxXor commented on GitHub (Jul 18, 2015):

You have to turn the option on and then start listening again (means you have to stop once when it's already listening). Or it will automatically do this on the next start of the server.

Have you tried that already?

<!-- gh-comment-id:122582811 --> @MaxXor commented on GitHub (Jul 18, 2015): You have to turn the option on and then start listening again (means you have to stop once when it's already listening). Or it will automatically do this on the next start of the server. Have you tried that already?
Author
Owner

@itapi commented on GitHub (Jul 18, 2015):

@MaxXor yep. tried also this. is it working for you? o.O

<!-- gh-comment-id:122590149 --> @itapi commented on GitHub (Jul 18, 2015): @MaxXor yep. tried also this. is it working for you? o.O
Author
Owner

@MaxXor commented on GitHub (Jul 18, 2015):

Yes, I'm using an AVM Fritz!Box 7360 router. Can you check if your router supports UPnP and has it enabled?

<!-- gh-comment-id:122598081 --> @MaxXor commented on GitHub (Jul 18, 2015): Yes, I'm using an AVM Fritz!Box 7360 router. Can you check if your router supports UPnP and has it enabled?
Author
Owner

@itapi commented on GitHub (Jul 19, 2015):

@MaxXor seems like it support it and enabled too.
image

<!-- gh-comment-id:122638033 --> @itapi commented on GitHub (Jul 19, 2015): @MaxXor seems like it support it and enabled too. ![image](https://cloud.githubusercontent.com/assets/10478457/8765117/0fb3f3d2-2e07-11e5-937c-ed950272727f.png)
Author
Owner

@MaxXor commented on GitHub (Jul 19, 2015):

Can you place a breakpoint here and tell me if it finds a device?

<!-- gh-comment-id:122638145 --> @MaxXor commented on GitHub (Jul 19, 2015): Can you place a breakpoint [here](https://github.com/MaxXor/xRAT/blob/5031a50f0771c88cca22ee6f6a3af8bb62660dd9/Server/Core/Helper/UPnP.cs#L44) and tell me if it finds a device?
Author
Owner

@itapi commented on GitHub (Jul 19, 2015):

@MaxXor allright in a second

<!-- gh-comment-id:122638251 --> @itapi commented on GitHub (Jul 19, 2015): @MaxXor allright in a second
Author
Owner

@itapi commented on GitHub (Jul 19, 2015):

@MaxXor it does work. it find the device

<!-- gh-comment-id:122638559 --> @itapi commented on GitHub (Jul 19, 2015): @MaxXor it does work. it find the device
Author
Owner

@MaxXor commented on GitHub (Jul 19, 2015):

Okay, thats good. Now I would need the response from your UPnP device. Can you capture the UPnP packets with your favorite network sniffer for me?

<!-- gh-comment-id:122640014 --> @MaxXor commented on GitHub (Jul 19, 2015): Okay, thats good. Now I would need the response from your UPnP device. Can you capture the UPnP packets with your favorite network sniffer for me?
Author
Owner

@MaxXor commented on GitHub (Jul 20, 2015):

I know it's not that easy, maybe you can use smartsniff or wireshark to capture this. Or could you try it with another router, if you have a spare one.

<!-- gh-comment-id:123061977 --> @MaxXor commented on GitHub (Jul 20, 2015): I know it's not that easy, maybe you can use smartsniff or wireshark to capture this. Or could you try it with another router, if you have a spare one.
Author
Owner

@ghost commented on GitHub (Jul 24, 2015):

This is happening to me as well. When I start the server, I check the 'Enable UPnP' in the settings and start listening, but UPnP doesn't work off the initial start of listening. I have to stop listening and then start listening again for UPnP to work.

<!-- gh-comment-id:124756838 --> @ghost commented on GitHub (Jul 24, 2015): This is happening to me as well. When I start the server, I check the 'Enable UPnP' in the settings and start listening, but UPnP doesn't work off the initial start of listening. I have to stop listening and then start listening again for UPnP to work.
Author
Owner

@MaxXor commented on GitHub (Jul 24, 2015):

@d3agle but this is another issue, for you it's at least working. For @itapi not.
Yours is easy to fix, I'll just need to activate the UPnP module when you check the "Enable UPnP" checkbox, now it does only activate it when starting the listening server.

<!-- gh-comment-id:124757188 --> @MaxXor commented on GitHub (Jul 24, 2015): @d3agle but this is another issue, for you it's at least working. For @itapi not. Yours is easy to fix, I'll just need to activate the UPnP module when you check the "Enable UPnP" checkbox, now it does only activate it when starting the listening server.
Author
Owner

@ghost commented on GitHub (Jul 24, 2015):

Oh right, I misunderstood. Sounds good!

@MaxXor, also just wanted to point out that once UPnP has the port forwarded, stopping the listen server won't remove the port from UPnP until the server is listening again and then it is removed when the listening has stopped.

<!-- gh-comment-id:124758521 --> @ghost commented on GitHub (Jul 24, 2015): Oh right, I misunderstood. Sounds good! @MaxXor, also just wanted to point out that once UPnP has the port forwarded, stopping the listen server won't remove the port from UPnP until the server is listening again and then it is removed when the listening has stopped.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Quasar#135
No description provided.