LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices


Reply
  Search this Thread
Old 06-13-2011, 05:05 PM   #16
paul_warren
LQ Newbie
 
Registered: Jun 2011
Posts: 1

Rep: Reputation: Disabled
Wink


Quote:
Originally Posted by SiegeX View Post
He forgot to tell how to Port Forward the Xbox live connection. Here is what you need

Code:
 $IPTABLES -t nat -A PREROUTING -i $WAN_IF -p tcp --dport 3074 -j DNAT --to-destination $XBOX_IP
   $IPTABLES -t nat -A PREROUTING -i $WAN_IF -p udp -m multiport --dports 88,3074 -j DNAT --to-destination $XBOX_IP
   $IPTABLES -A FORWARD -i $WAN_IF -d $XBOX_IP -p tcp --dport 3074 -j ACCEPT
   $IPTABLES -A FORWARD -i $WAN_IF -d $XBOX_IP -p udp -m multiport --dports 88,3074 -j ACCEPT
Make sure you set the variables appropriately
Hi when i type in the first line it says iptables 4.4 option "--to-destination" requires an arguement, please forgive me im new to Linux and the answer is porobly in front of me .thanks
 
Old 09-15-2011, 09:38 PM   #17
koolfue8
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Rep: Reputation: Disabled
Wait what???

Quote:
Originally Posted by WarTurkey View Post
Oops! I was lazy, and I didn't read to set the IP to the ROUTER, and not just the LAPTOP! Very sorry!
Im having the exact same problem and I dont understand how you fixed it would you mind explaining it further?? Im very noob at all this.
 
Old 09-17-2011, 03:47 PM   #18
WarTurkey
Member
 
Registered: Jun 2009
Posts: 67

Rep: Reputation: 16
Certainly, however first I would need to know a little bit of information from you:
  • The output of the command,
    Code:
    ifconfig
  • What kind of xbox are you using (Original, 360)
 
Old 09-20-2011, 01:45 AM   #19
koolfue8
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by WarTurkey View Post
Certainly, however first I would need to know a little bit of information from you:
  • The output of the command,
    Code:
    ifconfig
  • What kind of xbox are you using (Original, 360)
Sure no problem the output of the command ifconfig is below.

eth0 Link encap:Ethernet HWaddr 00:e0:b8:d7:82:b1
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:b8ff:fed7:82b1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:265888 errors:1 dropped:2671 overruns:0 frame:1
TX packets:276358 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:41910851 (41.9 MB) TX bytes:59176605 (59.1 MB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

wlan0 Link encap: Ethernet HWaddr 00:c0:a8:e5:5c:a4
inet addr:10.0.0.8 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::2c0:a8ff:fee5:5ca4/64 Scope:Link
UP BROADCASTING RUNNING MULTICAST MTU:1500 Metric:1
RX packets:33631 errors:0 dropped:0 overruns:0 frame:0
TX packets:20345 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:50387776 (50.3 MB) TX bytes:1839033 (1.8 MB)

And im running with an Xbox 360 but not the slim one. if that makes sense.
 
Old 09-23-2011, 10:01 AM   #20
WarTurkey
Member
 
Registered: Jun 2009
Posts: 67

Rep: Reputation: 16
I'm sorry for the late response, but here would be the correct settings for your particular situation:

Code:
iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 3074 -j DNAT --to-destination 192.168.2.2
   iptables -t nat -A PREROUTING -i wlan0 -p udp -m multiport --dports 88,3074 -j DNAT --to-destination 192.168.2.2
   iptables -A FORWARD -i wlan0 -d 192.168.2.2 -p tcp --dport 3074 -j ACCEPT
   iptables -A FORWARD -i wlan0 -d 192.168.2.2 -p udp -m multiport --dports 88,3074 -j ACCEPT
And then on your Xbox, you need to set the Network settings manually to this:

Code:
IP Address:      192.168.2.2
Subnet mask:     255.255.255.0
Gateway:         192.168.2.1

DNS/Nameserver:  192.168.2.1
 
Old 09-28-2011, 11:09 PM   #21
koolfue8
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Rep: Reputation: Disabled
Im sorry for the late response myself but thanks so much that was a lot of help !
 
Old 02-01-2012, 09:27 PM   #22
guitaristmatt
LQ Newbie
 
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
eth0 Link encap:Ethernet HWaddr c8:0a:a9:df:42:16
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::ca0a:a9ff:fedf:4216/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2491 errors:0 dropped:1902 overruns:0 frame:0
TX packets:3343 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:188736 (188.7 KB) TX bytes:731843 (731.8 KB)
Interrupt:43 Base address:0x4000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2498 errors:0 dropped:0 overruns:0 frame:0
TX packets:2498 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:259579 (259.5 KB) TX bytes:259579 (259.5 KB)

wlan0 Link encap:Ethernet HWaddr 70:f1:a1:f0:a7:80
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::72f1:a1ff:fef0:a780/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:639935 errors:0 dropped:0 overruns:0 frame:0
TX packets:523572 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:674334897 (674.3 MB) TX bytes:116570008 (116.5 MB)

Did everything exactly like tutorial and still get DNS error. Any mistakes you can find?
 
Old 05-08-2012, 10:50 AM   #23
WarTurkey
Member
 
Registered: Jun 2009
Posts: 67

Rep: Reputation: 16
guitaristmatt: can I see the exact format of the command you typed? I mean the iptables command, in your case however.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to find the ip address of a computer that is connected to LAN gajaykrishnan Linux - Networking 7 12-03-2010 06:38 AM
Forwarding Xbox Live ports to Original Xbox in OS X.4.4 mst3kman Other *NIX 11 08-16-2006 10:21 PM
Wireless lan connected but no internet XJNick Linux - Wireless Networking 5 08-07-2005 11:35 PM
connecting to a computer in a Lan from outside Tinku Linux - Networking 7 06-03-2005 02:51 PM
Using a linux router to put an xbox on a wireless lan brenan99 Linux - Wireless Networking 2 01-25-2004 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion

All times are GMT -5. The time now is 01:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration