1 PC and 2 Xbox ones NAT/something in the background issues

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
nhagney
DD-WRT Novice


Joined: 26 Apr 2017
Posts: 35

PostPosted: Wed Apr 26, 2017 5:57    Post subject: 1 PC and 2 Xbox ones NAT/something in the background issues Reply with quote
OK I'm going to start this with what I have installed and running hardware/software wise. I am taking a class in Networking a have a pretty good understanding in networking at this point. As for some of the option thats were I'm looking for a little guidance.

I have a Netgear R7000 running Firmware: DD-WRT v3.0-r31575M kongac (03/21/17) and a Netgear 24-port switch. I have 1 PC and 2 Xboxs running all on the same network (Only one external IP). The PC I have started playing my Xbox games on with the new Cross play options. The PC seems as tho it absolutely needs port 3074 (Xbox Live) to have proper connection. Most of the time UPNP handles this pretty well, for the 2 Xboxs they can connect to each other no problem at all. But the PC sometimes has issues letting the Xbox join it, not all the time but enough I am reaching out to you guys.

I understand traffic on port 3074 can only be forwarded to one device at a time. Now I have not put into practice VLAN and some of the advanced routing. Is there anything you guys can think of to have the Xboxs on say 10.0.0.x (the R7000) and the PC on a VLAN of 10.0.1.x using my
Netgear switch to add more ports. OR adding a bypass router under its own DHCP network to get the port 3074 or any port for that matter to manage itself. Please correct me if you see errors in some of my thinking in VLANs or any other form on networking. I will subnet if needed. I'm just looking for something outside of my box of thinking to get this network to work. I just dont want to have to pay for a 2ed external network address.

I have also tried Tomato firmware and the default Netgear firmware, as wel as normal starting the devices in session to allow the network to ready itsself. When i start them in session the do obtain a "Open NAT" most of the time. This does not result in the Xbox joining the PC tho. DD-WRT has the most success at letting the Xbox join the PC. I can't seem to pin point why tho. I dont see anything out of the ordinary when they do connect.
There has to be something I can do. Thanks guys!!!
Sponsor
nhagney
DD-WRT Novice


Joined: 26 Apr 2017
Posts: 35

PostPosted: Fri Apr 28, 2017 18:56    Post subject: Reply with quote
I'm starting to think there is a larger underlying issue happening with this firmware. I was just now setting up the ports for my 7 Day to Die Server and i'm not getting any success. At this point I'm only trying to see if I can get the Web panel to port forward on port 7777 to remote access on local LAN and cant. I am in fact able to get to it on the local server at 172.0.0.1:7777. Let along even when i forward Xbox live ports to the PC I still see these port showing in uPnP, meaning the router is doing more when this it has to. Also I see uPnP activity during the time I have a DMZ on and set up.

As for the port forwarding i tried this solution i found lying around on the forums

Code:
insmod ipt_mark
insmod xt_mark
iptables -t mangle -A PREROUTING -i ! `get_wanface` -d `nvram get wan_ipaddr` -j MARK --set-mark 0xd001
iptables -t nat -A POSTROUTING -m mark --mark 0xd001 -j MASQUERADE


I only just tried this but still nothing, no remote access.
nhagney
DD-WRT Novice


Joined: 26 Apr 2017
Posts: 35

PostPosted: Fri Apr 28, 2017 22:19    Post subject: Reply with quote
As of right now I have a OPEN NAT on both the PC and 1 Xbox they can join each other. The two setting I have changed are the script I added above and I have turned off SPI Firewall. Can someone please look at this a reply with what i can do to find out why its working at this point? What do you think allowed the connection?
nhagney
DD-WRT Novice


Joined: 26 Apr 2017
Posts: 35

PostPosted: Sat Apr 29, 2017 7:48    Post subject: Reply with quote
This is it for me the firmware now is making my lag in games. Its really a shame i cant use it cuz it is a great idea, just needs a real support team. Stock maybe Tomato here I come.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Sat Apr 29, 2017 12:19    Post subject: Reply with quote
How are the PC and Xbox connecting? If they use the local addresses, NAT and UpnP is not involved. If they fetch the Public address from a remote server, the connection is loopbacked on the router.

Lag should not be a problem on local connections. For remote connections configure QOS to minimize Buffer Bloat. That will gave an impact on games that sends small packets.
nhagney
DD-WRT Novice


Joined: 26 Apr 2017
Posts: 35

PostPosted: Sun Apr 30, 2017 4:12    Post subject: Reply with quote
Per Yngve Berg wrote:
How are the PC and Xbox connecting? If they use the local addresses, NAT and UpnP is not involved. If they fetch the Public address from a remote server, the connection is loopbacked on the router.

Lag should not be a problem on local connections. For remote connections configure QOS to minimize Buffer Bloat. That will gave an impact on games that sends small packets.
I would imagine that loopback due the Xbox live absolutely needing to be in the mix. Last night after i started to flash back to stock i noticed after a 30 reset I found under on of the tabs that DHCP now states enabled. So I assumed bad flash and did a new 30-30-30 and reflashed the same DD WRT build, following with a new 30-30-30 after flash. To tell the truth i dont want QoS involved i have a R7000 and more then enough connection speed to handle this amount of data.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Sun Apr 30, 2017 6:09    Post subject: Reply with quote
You can test the Buffer Bload withthe dslreport's speedtest.

http://www.dslreports.com/speedtest
nhagney
DD-WRT Novice


Joined: 26 Apr 2017
Posts: 35

PostPosted: Sun Apr 30, 2017 8:23    Post subject: Reply with quote
That information in that test in based on large amounts of data being sent and one point in time. The displayed content there is not only my router, i believe that would be from every HOP the packets come into contact with. please let me know in im wrong here.
nhagney
DD-WRT Novice


Joined: 26 Apr 2017
Posts: 35

PostPosted: Sun Apr 30, 2017 8:26    Post subject: Reply with quote
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Sun Apr 30, 2017 9:16    Post subject: Reply with quote
You got a grade F on Bufferbloat.

You can improve it with QOS:

Port: WAN
Packet Scheduler: HFSC
Queueing Discipline: FQ_CODEL
Downlink (kbps): 87040
Uplink (kbps): 12000


Set the speed to 90% of your Internet speed
nhagney
DD-WRT Novice


Joined: 26 Apr 2017
Posts: 35

PostPosted: Mon May 01, 2017 3:08    Post subject: Reply with quote


Can u further explain what i just set please. I understand im limiting a bandwidth but what would cause something like this, the modem router or..

Does this improve my over all ping or only at max download and upload speeds. As well explain each setting so i can understand fully. Thanks man.

As well at after that new flash I was able to have the PC and Xbox one connect on the first try. They r connected as of right now and were playing, im scared to disconnect do to we want some play time.

Here is my UPnP feed. The PC = 10.0.0.103 and the Xbox = 10.0.0.57 the port in question here is 3074 = Teredo but i dont see 3074 only some kind of "mask"
Code:
[b]Teredo   Yes   57624   57624   10.0.0.57   UDP[/b]   
Skype UDP at 10.0.0.103:3522 (3773)   Yes   3522   3522   10.0.0.103   UDP   
Skype TCP at 10.0.0.103:3522 (3773)   Yes   3522   3522   10.0.0.103   TCP   
[b]Teredo   Yes   3074   3074   10.0.0.103   UDP[/b]   
Skype UDP at 10.0.0.103:3522 (3772)   Yes   3522   3522   10.0.0.103   UDP   
Skype TCP at 10.0.0.103:3522 (3772)   Yes   3522   3522   10.0.0.103   TCP   
Teredo   Yes   51216   51216   10.0.0.38   UDP   
uTorrent (TCP)   Yes   38653   38653   10.0.0.103   TCP   
uTorrent (UDP)   Yes   38653   38653   10.0.0.103   UDP   
GameStream - 40:16:7E:0D:1A:70, ASUS   Yes   48059   47999   10.0.0.103   UDP   
GameStream - 40:16:7E:0D:1A:70, ASUS   Yes   48070   48010   10.0.0.103   UDP   
GameStream - 40:16:7E:0D:1A:70, ASUS   Yes   48058   47998   10.0.0.103   UDP   
GameStream - 40:16:7E:0D:1A:70, ASUS   Yes   48060   48000   10.0.0.103   UDP   


Here is the feed from CMD for Teredo. As u can see port 3074 is set for only the PC but this is not reflected in the UPnP on DD-WRT
Code:
C:\Windows\system32>netsh
netsh>int
In future versions of Windows, Microsoft might remove the Netsh functionality
for TCP/IP.

Microsoft recommends that you transition to Windows PowerShell if you currently
use netsh to configure and manage TCP/IP.

Type Get-Command -Module NetTCPIP at the Windows PowerShell prompt to view
a list of commands to manage TCP/IP.

Visit http://go.microsoft.com/fwlink/?LinkId=217627 for additional information
about PowerShell commands for TCP/IP.
netsh interface>tere
netsh interface teredo>show state
Teredo Parameters
---------------------------------------------
Type                    : natawareclient
Server Name             : win10.ipv6.microsoft.com.
Client Refresh Interval : 20 seconds
[b]Client Port             : 3074[/b]
State                   : qualified
Client Type             : teredo client
Network                 : unmanaged
[b]NAT                     : cone
NAT Special Behaviour   : UPNP: Yes, PortPreserving: Yes
Local Mapping           : 10.0.0.103:3074
External NAT Mapping    : X.X.X.X:3074[/b]

netsh interface teredo>
nhagney
DD-WRT Novice


Joined: 26 Apr 2017
Posts: 35

PostPosted: Mon May 01, 2017 4:16    Post subject: Reply with quote
The router seems to have crashed. Is this build not stable?
After restarting the router it wouldn't hand the PC a new IP address and the old one was not working, so i restarted the PC and boom new IP. The Xbox is still able to join the Xbox, AFTER ONE TRY!!! Maybe this new flash is what it needed.

New UPnP and CMD PC = 10.0.0.211

Code:
Teredo   Yes   57624   57624   10.0.0.57   UDP   
Skype UDP at 10.0.0.103:3522 (3773)   Yes   3522   3522   10.0.0.103   UDP   
Skype TCP at 10.0.0.103:3522 (3773)   Yes   3522   3522   10.0.0.103   TCP   
Teredo   Yes   3074   3074   10.0.0.103   UDP   
Skype UDP at 10.0.0.103:3522 (3772)   Yes   3522   3522   10.0.0.103   UDP   
Skype TCP at 10.0.0.103:3522 (3772)   Yes   3522   3522   10.0.0.103   TCP   
Teredo   Yes   51216   51216   10.0.0.38   UDP   
uTorrent (TCP)   Yes   38653   38653   10.0.0.103   TCP   
uTorrent (UDP)   Yes   38653   38653   10.0.0.103   UDP   
GameStream - 40:16:7E:0D:1A:70, ASUS   Yes   48059   47999   10.0.0.103   UDP   
Teredo   Yes   3074   3074   10.0.0.38   UDP   
uTorrent (TCP)   Yes   38653   38653   10.0.0.211   TCP   
uTorrent (UDP)   Yes   38653   38653   10.0.0.211   UDP   
Skype UDP at 10.0.0.211:3522 (3773)   Yes   3522   3522   10.0.0.211   UDP   
Skype TCP at 10.0.0.211:3522 (3773)   Yes   3522   3522   10.0.0.211   TCP   
GameStream - 40:16:7E:0D:1A:70, ASUS   Yes   48059   47999   10.0.0.211   UDP   
GameStream - 40:16:7E:0D:1A:70, ASUS   Yes   48070   48010   10.0.0.211   UDP   
GameStream - 40:16:7E:0D:1A:70, ASUS   Yes   48058   47998   10.0.0.211   UDP   
GameStream - 40:16:7E:0D:1A:70, ASUS   Yes   48060   48000   10.0.0.211   UDP


CMD:
Code:
C:\WINDOWS\system32>netsh
netsh>int
In future versions of Windows, Microsoft might remove the Netsh functionality
for TCP/IP.

Microsoft recommends that you transition to Windows PowerShell if you currently
use netsh to configure and manage TCP/IP.

Type Get-Command -Module NetTCPIP at the Windows PowerShell prompt to view
a list of commands to manage TCP/IP.

Visit http://go.microsoft.com/fwlink/?LinkId=217627 for additional information
about PowerShell commands for TCP/IP.
netsh interface>tere
netsh interface teredo>show state
Teredo Parameters
---------------------------------------------
Type                    : natawareclient
Server Name             : win10.ipv6.microsoft.com.
Client Refresh Interval : 20 seconds
Client Port             : 3074
State                   : qualified
Client Type             : teredo client
Network                 : unmanaged
NAT                     : symmetric (port)
NAT Special Behaviour   : UPNP: No, PortPreserving: Yes
Local Mapping           : 10.0.0.211:3074
External NAT Mapping    : X.X.X.X:3074

netsh interface teredo>

As u can see I'm no longer cone but im sure the Xbox is also no teredo port was added to UPnP to the PC.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Mon May 01, 2017 7:36    Post subject: Reply with quote
Code:
Teredo   Yes   57624   57624   10.0.0.57   UDP 
Teredo   Yes   3074   3074   10.0.0.103   UDP   
Teredo   Yes   51216   51216   10.0.0.38   UDP



They are all here. The first client that starts the game gets the port 3074. The next client finds that port is occupied and uses an other port (here 57624 and 51216).

Congratulation on getting Grade A on BufferBloat. The down-side is that throughput is reduced from 88.7 to 85.9, but small packets like ping travels much faster.
nhagney
DD-WRT Novice


Joined: 26 Apr 2017
Posts: 35

PostPosted: Mon May 01, 2017 19:23    Post subject: Reply with quote
Per Yngve Berg wrote:
Code:
Teredo   Yes   57624   57624   10.0.0.57   UDP 
Teredo   Yes   3074   3074   10.0.0.103   UDP   
Teredo   Yes   51216   51216   10.0.0.38   UDP



They are all here. The first client that starts the game gets the port 3074. The next client finds that port is occupied and uses an other port (here 57624 and 51216).

Congratulation on getting Grade A on BufferBloat. The down-side is that throughput is reduced from 88.7 to 85.9, but small packets like ping travels much faster.


Those port U copied in the post or the old IPs look at my post I said what the new IPs are. UPnP didnt let them go as of yet.

Can u explain those setting i set please. I just want a better understanding.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum