Tethering and NAT

Hello,
I have OSMC last version on my Raspberry pi 2.

i’m trying to archive tether for share Wifi to Ethernet port… for example:

Internet Router <— wifi —> Raspberry <— ethernet —> Xbox 360

It works well and Xbox can go Online, but i have a lot of problem with gaming because it says that its under NAT.

If i try to connect Xbox directly to Router that problem doesn’t occur…

So… What should i do for gaming without problem?

Thanks a lot :slight_smile:

I believe that Tethering in this way will double NAT you. We don’t rely on a DHCP server being present on the network and dish out IPs to clients from ConnMan.

I don’t know what the Xbox is saying when it gives you this message, but it should be able to use NAT Traversal to establish a connection, however the success of this may be limited, particularly as you are double NATed.

The tethering functionality isn’t really built for gaming in mind, and if you are connecting via WiFi you may experience poor performance.

Sam

Errrr, connect the Xbox directly to the router? :slight_smile:

Good question but i can’t… I need the Wifi to pass through the rooms between router and my xbox and of course, the xbox doesn’t have the wifi built in :slight_smile:

1 Like

Thanks Sam… What could i do so? I love Ssmc but at the same moment, it would be great use my xbox with Ethernet and internet :slight_smile:

Maybe some script that do the job? :smiley:

There’s not really a solution for this.

The network implementation for OSMC isn’t really built for this use case.

1 Like

There are alternatives? Maybe i could dual boot osmc with another system :slight_smile:

Maybe you could do this with Raspbian + hostapd + dhcp3-relay but this is no longer an OSMC related question so we can’t offer much guidance on this.

I still think this will be problematic.

1 Like

And, as you say, of course …

Other possible suggestions for you then:

  1. Buy a stand-alone WiFi bridge. Or, if it’s a '360 (rather than an original Xbox) then a USB WiFi adapter.
  2. Some sort of PowerLine (Ethernet over your mains wiring).
  3. Use a cheap WAP (Wireless Access Point) as a WiFi to wired bridge - in bridged mode, it will effectively act as a client of your main AP and give you wired Ethernet out.

Those are the first few ideas which sprung to mind; there will doubtless be other ways. Any of them would avoid trying to get OSMC on an RPi to do something it’s kinda’ not designed for …

Hope that helps!