Community discussions

MikroTik App
 
meletis
just joined
Topic Author
Posts: 9
Joined: Wed Sep 30, 2020 7:27 pm

XBOX and MikroTik RouterOS v6.47 (stable) NAT | UPDATE: VPN

Tue Oct 06, 2020 12:09 pm

Hi there

I have been trying to resolve this issue for the past 15 days, reading through forums but no luck at all
As you may know, in order for XBOX to work properly, it needs an Open NAT - so far it is only Strict
According to the Microsoft XBOX's website https://support.xbox.com/en-US/help/har ... -xbox-live, the following ports should be open:

Port 88 (UDP)
Port 3074 (UDP and TCP) (I assigned this port manually)
Port 53 (UDP and TCP)
Port 80 (TCP)
Port 500 (UDP)
Port 3544 (UDP)
Port 4500 (UDP)

Ideally, UnPN should be activated

To simplify things and make sure that my XBOX is not changing its IP address dynamically, I manually assigned to it through the advance setting in the console, the following:

IPv4
IP address: 192.168.88.246
Subnet mask: 255.255.255.0
Gateway: 192.168.88.1

DNS: 192.168.88.1
1.1.1.1

Wired MAC: 1C-1A-DF-26-05-31
Port: 3074

My router's IP is: 192.168.88.1

How do I solve this problem?

Thank you in advance

Best regards,
A.
Last edited by meletis on Wed Oct 07, 2020 3:24 pm, edited 1 time in total.
 
erlinden
Forum Guru
Forum Guru
Posts: 1962
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: XBOX and MikroTik RouterOS v6.47 (stable) NAT

Tue Oct 06, 2020 12:50 pm

Big LOL!

These ports should be open from within to the Internet, these shoud not be port forwarded (as I assume you did).
UPnP is evil...please don't use it...ever!

Though...some games do require port forwarded to the console (which sucks in my opinion).
What game(s) are giving you problems?
 
meletis
just joined
Topic Author
Posts: 9
Joined: Wed Sep 30, 2020 7:27 pm

Re: XBOX and MikroTik RouterOS v6.47 (stable) NAT

Tue Oct 06, 2020 12:54 pm

Big LOL!

These ports should be open from within to the Internet, these shoud not be port forwarded (as I assume you did).
UPnP is evil...please don't use it...ever!

Though...some games do require port forwarded to the console (which sucks in my opinion).
What game(s) are giving you problems?
eFootball2021 - PES 2021 in other words.
Do you have any idea how I can make my NAT Open for XBOX?
 
erlinden
Forum Guru
Forum Guru
Posts: 1962
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: XBOX and MikroTik RouterOS v6.47 (stable) NAT

Tue Oct 06, 2020 1:10 pm

On portforward I found this information:
https://portforward.com/efootball-pes-2020/

You have to forward a sh*tload of ports:
TCP: 3074
UDP: 88,500,3074,3544,4500,5730-5731,5739

Hope you are not running an L2TP VPN server?
 
meletis
just joined
Topic Author
Posts: 9
Joined: Wed Sep 30, 2020 7:27 pm

Re: XBOX and MikroTik RouterOS v6.47 (stable) NAT

Tue Oct 06, 2020 1:12 pm

On portforward I found this information:
https://portforward.com/efootball-pes-2020/

You have to forward a sh*tload of ports:
TCP: 3074
UDP: 88,500,3074,3544,4500,5730-5731,5739

Hope you are not running an L2TP VPN server?

wow! That is really useful!

The question is, how do I do that? What I should do to open these ports?
I just moved to this flat. I found the connection here. From what I know, no, I am not running an L2TP VPN server.

Thank you in advance
 
Kindis
Member
Member
Posts: 434
Joined: Tue Nov 01, 2011 6:54 pm
Location: Sweden

Re: XBOX and MikroTik RouterOS v6.47 (stable) NAT

Tue Oct 06, 2020 1:43 pm

Ok so you can forward and open these port or use UPnP. Now I'm no fan of UPnP but in this case it might be the best option for you.

Can you do a export hide-sensitive and paste the output. Could be UPnP that needs tweaking. If not we can help with NAT rules as we can se interface names and so on that is needed.
 
meletis
just joined
Topic Author
Posts: 9
Joined: Wed Sep 30, 2020 7:27 pm

Re: XBOX and MikroTik RouterOS v6.47 (stable) NAT

Tue Oct 06, 2020 1:47 pm

Ok so you can forward and open these port or use UPnP. Now I'm no fan of UPnP but in this case it might be the best option for you.

Can you do a export hide-sensitive and paste the output. Could be UPnP that needs tweaking. If not we can help with NAT rules as we can se interface names and so on that is needed.
Thank you very much for your reply.
Shall I sent you this info via PM?

Thank you in advance
 
Kindis
Member
Member
Posts: 434
Joined: Tue Nov 01, 2011 6:54 pm
Location: Sweden

Re: XBOX and MikroTik RouterOS v6.47 (stable) NAT

Tue Oct 06, 2020 1:53 pm

Ok so you can forward and open these port or use UPnP. Now I'm no fan of UPnP but in this case it might be the best option for you.

Can you do a export hide-sensitive and paste the output. Could be UPnP that needs tweaking. If not we can help with NAT rules as we can se interface names and so on that is needed.
Thank you very much for your reply.
Shall I sent you this info via PM?

Thank you in advance
You can paste the output here if you want to should be safe. Just remove the public IP if you have on in the output.
Did not know that PM was enabled but that is an option as well :-)
 
Kindis
Member
Member
Posts: 434
Joined: Tue Nov 01, 2011 6:54 pm
Location: Sweden

Re: XBOX and MikroTik RouterOS v6.47 (stable) NAT

Tue Oct 06, 2020 2:33 pm

Hello,

So the NAT rules should be like this:
/ip firewall nat
add action=dst-nat chain=dstnat dst-port=3074 in-interface=ether1 protocol=tcp to-addresses=192.168.88.246
add action=dst-nat chain=dstnat dst-port=88,500,3074,3544,4500,5730-5731,5739 in-interface=ether1 protocol=udp to-addresses=192.168.88.246

This will take all inbound traffic to the router on these ports and dest-nat (port forward) to IP 192.168.88.246 which I assume is the Xbox

So now comes the point I'm unsure of but I think you need firewall rules as well. I think you need rules in both input and forward. Now I'm not sure about this but here are the rules:
/ip firewall filter
add action=accept chain=input dst-port=3074 in-interface=ether1 protocol=tcp
add action=accept chain=input dst-port=88,500,3074,3544,4500,5730-5731,5739 in-interface=ether1 protocol=udp
add action=accept chain=forward dst-port=3074 in-interface=ether1 protocol=tcp
add action=accept chain=forward dst-port=88,500,3074,3544,4500,5730-5731,5739 in-interface=ether1 protocol=udp

Note that these rules has to be above drop rules so you will have to move them after them being added.
Also note that if you want to use any of these ports in the future this NAT rule will break that. For example UDP 500 is used for some VPN tunnel and so on.
Regarding your UPnP rules look good but when it comes to Xbox and Mikrotik my experience is that sometimes it works and sometimes it does not

And last I did all this during a online meeting so please read trough as I might have made mistakes :-)
 
meletis
just joined
Topic Author
Posts: 9
Joined: Wed Sep 30, 2020 7:27 pm

Re: XBOX and MikroTik RouterOS v6.47 (stable) NAT

Tue Oct 06, 2020 2:37 pm

Hello,

So the NAT rules should be like this:
/ip firewall nat
add action=dst-nat chain=dstnat dst-port=3074 in-interface=ether1 protocol=tcp to-addresses=192.168.88.246
add action=dst-nat chain=dstnat dst-port=88,500,3074,3544,4500,5730-5731,5739 in-interface=ether1 protocol=udp to-addresses=192.168.88.246

This will take all inbound traffic to the router on these ports and dest-nat (port forward) to IP 192.168.88.246 which I assume is the Xbox

So now comes the point I'm unsure of but I think you need firewall rules as well. I think you need rules in both input and forward. Now I'm not sure about this but here are the rules:
/ip firewall filter
add action=accept chain=input dst-port=3074 in-interface=ether1 protocol=tcp
add action=accept chain=input dst-port=88,500,3074,3544,4500,5730-5731,5739 in-interface=ether1 protocol=udp
add action=accept chain=forward dst-port=3074 in-interface=ether1 protocol=tcp
add action=accept chain=forward dst-port=88,500,3074,3544,4500,5730-5731,5739 in-interface=ether1 protocol=udp

Note that these rules has to be above drop rules so you will have to move them after them being added.
Also note that if you want to use any of these ports in the future this NAT rule will break that. For example UDP 500 is used for some VPN tunnel and so on.
Regarding your UPnP rules look good but when it comes to Xbox and Mikrotik my experience is that sometimes it works and sometimes it does not

And last I did all this during a online meeting so please read trough as I might have made mistakes :-)
Thank you a lot!
Could you please clarify what you mean by "ote that these rules has to be above drop rules so you will have to move them after them being added."?

Thank you!!!
A.
 
Kindis
Member
Member
Posts: 434
Joined: Tue Nov 01, 2011 6:54 pm
Location: Sweden

Re: XBOX and MikroTik RouterOS v6.47 (stable) NAT

Tue Oct 06, 2020 2:43 pm

If you run the code in CLI the rules will be placed last and below the drop rules so they will not work. You have to move them so they are above the drop rules which are last.
 
meletis
just joined
Topic Author
Posts: 9
Joined: Wed Sep 30, 2020 7:27 pm

Re: XBOX and MikroTik RouterOS v6.47 (stable) NAT

Tue Oct 06, 2020 2:58 pm

If you run the code in CLI the rules will be placed last and below the drop rules so they will not work. You have to move them so they are above the drop rules which are last.
Got it (I believe)
I will send you a screenshot once I add everything

Thank you!!!
 
meletis
just joined
Topic Author
Posts: 9
Joined: Wed Sep 30, 2020 7:27 pm

Re: XBOX and MikroTik RouterOS v6.47 (stable) NAT

Tue Oct 06, 2020 3:39 pm

If you run the code in CLI the rules will be placed last and below the drop rules so they will not work. You have to move them so they are above the drop rules which are last.
Unfortunately, nothing has changed at all. Like we did nothing.
I received an email a few days ago from MikroTik support. The only one I have received so far saying that:

/ip firewall nat add chain=dstnat dst-port=1234 action=dst-nat protocol=tcp to-address=192.168.1.1 to-port=1234
this will "open" the port 1234 for the internal IP 192.168.1.1

The question is whether I should replace 192.168.1.1 with my XBOX ip...

Any ideas?
Thank you in advance!
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: XBOX and MikroTik RouterOS v6.47 (stable) NAT

Tue Oct 06, 2020 7:16 pm

Hi there

I have been trying to resolve this issue for the past 15 days, reading through forums but no luck at all
As you may know, in order for XBOX to work properly, it needs an Open NAT - so far it is only Strict
According to the Microsoft XBOX's website https://support.xbox.com/en-US/help/har ... -xbox-live, the following ports should be open:

Port 88 (UDP)
Port 3074 (UDP and TCP) (I assigned this port manually)
Port 53 (UDP and TCP)
Port 80 (TCP)
Port 500 (UDP)
Port 3544 (UDP)
Port 4500 (UDP)
...
Not a gamer myself, but I reckon the description of the ports to opened as listed on that URL is confusing, they are not explaining which direction these ports needs to be opened, and I suspect that 99% of these ports listed are required for outgoing should you have configured firewall as a "statefull" firewall, which default config does.

I just tested with my son's XboxOne, tested NAT and it said moderate, then only enabled DST NAT to the XboxOne IP for both protocols TCP and UDP destination port 3074, now NAT says Open.
Might need to open additional ports for Gaming, but XBox itself reports OPEN NAT now
 
Kindis
Member
Member
Posts: 434
Joined: Tue Nov 01, 2011 6:54 pm
Location: Sweden

Re: XBOX and MikroTik RouterOS v6.47 (stable) NAT

Tue Oct 06, 2020 10:39 pm

I said this in DM but I noticed that UPnP is disabled. So test to enable it would be a good start.
Also agreed ports are confusing as hell but hopefully UPnP would solve this.
 
meletis
just joined
Topic Author
Posts: 9
Joined: Wed Sep 30, 2020 7:27 pm

Re: XBOX and MikroTik RouterOS v6.47 (stable) NAT

Wed Oct 07, 2020 9:47 am

I said this in DM but I noticed that UPnP is disabled. So test to enable it would be a good start.
Also agreed ports are confusing as hell but hopefully UPnP would solve this.
Thank you for your help
I contacted yesterday my provider and it seems that these ports are deliberately blocked by them for some reason

Let's see...

Best regards,
A.
 
meletis
just joined
Topic Author
Posts: 9
Joined: Wed Sep 30, 2020 7:27 pm

Re: XBOX and MikroTik RouterOS v6.47 (stable) NAT

Wed Oct 07, 2020 3:23 pm

Unfortunately, due to the fact that I am only renting this flat short term, I cannot upgrade the internet contract in order to resolve the issue
Instead, I just got an ExpressVPN account.

Any ideas if that could help? Also, any help on how I can set this up to my router?

Thank you in advance

Best regards,
A.

Who is online

Users browsing this forum: jason9456402 and 181 guests