Author Topic: Multiple Routers UPnP  (Read 10878 times)

tgraupmann

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Multiple Routers UPnP
« on: January 17, 2014, 10:15:45 PM »
Okay I'm having a little trouble on my network with TNet and the Master server recognizing each other.

If I run two instances on the same computer it works fine. I have a unique setup.

The master server is on the WWW greater Internet.

And then I have a cable modem.

I connect my ASUS RT-AC68U router to the cable modem to serve upstairs. I connect another ASUS RT-AC68U with an ethernet cable to the first router to serve downstairs.

Both routers are UPnP.

I'm trying to connect computers connected to both routers. The first level is your generic scenario. The second router requires UPnP on the second router and then the first router.

Is this a scenario you planned for? Needing to recursively unblock ports? I'd greatly appreciate punching through both.

Thanks,

~Tim Graupmann

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Multiple Routers UPnP
« Reply #1 on: January 20, 2014, 01:25:28 AM »
If you have two routers between you and the internet, then it won't work. TNet only knows about the first one, not any subsequent ones.

pyscho2day

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 74
    • View Profile
Re: Multiple Routers UPnP
« Reply #2 on: January 22, 2014, 06:18:21 PM »
Would this be something that nat would fix?   ;)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Multiple Routers UPnP
« Reply #3 on: January 23, 2014, 07:34:22 AM »
NAT punchthrough is for UDP traffic. TNet uses TCP as the primary means of communication. I am not aware of any solid guide on how to do TCP NAT reliably. And even for NAT you still need an open, accessible third party in order for it to work. Without a third party it will fail.

pyscho2day

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 74
    • View Profile
Re: Multiple Routers UPnP
« Reply #4 on: January 23, 2014, 04:40:49 PM »
NAT is not limited to UDP.

"Transparent NAT works well for TCP connections, but due to the connectionless nature of UDP, NAT works less well for unusual UDP connections" - http://www.ipprimer.com/nat.cfm

If you would like to read the bes practices put forth by the ietf then you can read this pdf.
http://tools.ietf.org/pdf/rfc5382.pdf

Not snapping just letting you know.

tgraupmann

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Re: Multiple Routers UPnP
« Reply #5 on: January 23, 2014, 05:18:42 PM »
I would think if my desktop behind both routers can hit the http admin page of both routers, then both routers would be configurable?

A simple test would configure the second router for UPnP, obtain the gateway, and attempt to configure the first router over the gateway. That is if I unblocked all UPnP ports on the second router, correct?
« Last Edit: January 23, 2014, 07:51:34 PM by tgraupmann »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Multiple Routers UPnP
« Reply #6 on: January 24, 2014, 11:13:19 AM »
If by NAT you just mean basic router functionality, then sure. As long as you set up port forwarding on both, it will work.

NAT Punchthrough is something else entirely -- the ability to "punch through" the network address translation (read: access an internal computer without setting up port forwarding).