You will need
Ports 3074 TCP/UDP and 88 UDP
Switch on your xbox and head over to the System tab in the dashboard.
Select Network Settings
Edit Settings
Here you will be greeted with a screen that has lots of numbers on it.
Take a note of the IP range, i.e in my case its 192.168.2.x (x being the last digits). Your mileage may vary.
You also want to write down its Subnet and Gateway.
Once armed with this info, type in your new static address. Ive gone for 192.168.2.150.
Make sure the address you choose is outside the DHCP range of the router. You can only go as far as 255.
Example.
My setup is:
IP Address
192.168.2.150
Subnet
255.255.255.0
Gateway
192.168.2.1
You then have the option of setting the DNS. In 99% of cases, set this to be the same as your gateway.
Attacking the Router.
Log into your router.
Look for the DHCP settings and make sure your chosen IP is outside the DHCP range.
Most people only have a handful of devices that require an IP address, I set my range to 192.168.2.10 - 192.168.2.100. This gives me scope to set routers, APs and print servers in the lower -10 of my unassigned range, and the top devices like my static PC in the +100 range.
A good guide for opening the correct ports on your particular router can be found here.
http://www.portforward.com/english/routers/port_forwarding/routerindex.htmFrom experience, I turn Upnp off as it causes headaches. Your system may think otherwise.