1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
Xbox and ClearOS
(1 viewing) 1 Guest
Go to bottomPage: 12345
TOPIC: Xbox and ClearOS
#20521
Re:Xbox and ClearOS 2 Years, 6 Months ago  
FastLaneJB just showed you how. Enter what he said at your shell prompt, but minus the --dport 80 script and it'll allow your XBox to be open to every port. That's leaving yourself and your clan pretty vulnerable to malware and smut though, especially if your DHCP server assigns those IP addresses the next time around to any PCs on your LAN. Obvioulsy you would use the ip addresses of the game units in place of what he posted. Another potential problem is the line number placement of your rule...it could be placed after any redirect Squid might have on your nat table and negate the rule. Better to include line numbers and mac addresses and then if it works for you, place the script in /etc/rc.d/rc.firewall.local so that it's included anytime your firewall is rebooted. Otherwise it'll get wiped every time.

Code:

iptables -t nat -I PREROUTING 1 -m mac --mac-source E0-C9-4T-B8-B4-99 -j ACCEPT
iptables -t nat -I PREROUTING 2 -m mac --mac-source C5-T7-3E-D5-FF-09 -j ACCEPT



Two boxes hence two mac addresses. Placed at lines one and two every time, prior to any Squid redirect on port 82.

If you need to revert back to the original iptables, prior to entering anything in /etc/rc.d/rc.firewall.local, just restart the firewall service and any changes will get wiped.

Code:

service firewall restart

Dirk Albring
Platinum Boarder
Posts: 360
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
God Bless,
Dirk
 
#20523
Re:Xbox and ClearOS 2 Years, 6 Months ago  
Calvin Teh wrote:
[quote]i'm trying to get 2 of my Xbox360 to achieve open NAT. even after installing uPnP it didn't help/quote]

Not to insult you or anything but did you start uPnP after installing it? I know it took me a couple hours to realize I had to start it too.
Ryan
Expert Boarder
Posts: 110
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#20524
Re:Xbox and ClearOS 2 Years, 6 Months ago  
hi dirk, thanks for the quick reply.. i'll try that once I get home.. also post the outcome here ... cheers
Calvin Teh
Junior Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#20541
Re:Xbox and ClearOS 2 Years, 6 Months ago  
yea.. uPnP is started.. but when 2 boxes are started.. it got confused and not knowing which relates to which
Calvin Teh
Junior Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#20546
Re:Xbox and ClearOS 2 Years, 6 Months ago  
hi dirk,

the solution u proposed did not seem to work out. I have replaced it with the mac address of my box. NAT still reports as moderate
Calvin Teh
Junior Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#20556
Re:Xbox and ClearOS 2 Years, 6 Months ago  
are your xboxs setup for DHCP? or did you configure static address within the xbox menu?
Ryan
Expert Boarder
Posts: 110
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#20568
Re:Xbox and ClearOS 2 Years, 6 Months ago  
Yup DHCP enabeled .. But the xboxs are all statically allocated an ip address through the router..
Calvin Teh
Junior Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#20570
Re:Xbox and ClearOS 2 Years, 6 Months ago  
Can't have two DHCP servers allocating IP addresses. If you have a router and ClearOS server you're gonna have to choose.
Dirk Albring
Platinum Boarder
Posts: 360
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
God Bless,
Dirk
 
#20571
Re:Xbox and ClearOS 2 Years, 6 Months ago  
the router IS the clearOS server..
Calvin Teh
Junior Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#20573
Re:Xbox and ClearOS 2 Years, 6 Months ago  
K...y don't u all stop trying to circumvent and going against the grain and just figure out the XBox server domain names and include them in your dans exception site list or even the proxy bypass site(s)?
Dirk Albring
Platinum Boarder
Posts: 360
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
God Bless,
Dirk
 
Go to topPage: 12345
  get the latest posts directly to your desktop