The pfSense Store

Author Topic: UPNP fails when play  (Read 30818 times)

0 Members and 1 Guest are viewing this topic.

Offline zboll

  • Jr. Member
  • **
  • Posts: 36
    • View Profile
Re: UPNP fails when play
« Reply #30 on: August 02, 2007, 10:06:36 am »
no zboll your pfsense is working well it,s the xbox and the upnp thats not working together. when i hade d-link gming router it,s working well to. but i like the pfsense better. in d-link i find a gamefuel page where all of this ports and other things that was reallated to games was. why can,t we build one page like this in the pfsense ?

Yeah ok.  I might just try pfsense on the P4 2.4 Ghz and see if it works any better with the xbox.  the buffalo router with DD-WRT works perfectly in terms of playing xbox 360, but I like the feature that pfsense has of multiple wan support which originally got me using pfsense instead of a linux variant.

I originally figured I would try out a linux variant when I could not get pfsense to work with xbox360 because my DD-WRT router is linux based.  I found that "Endian" and "Clarckconnect" both have dual wan support.  I tried to install Endian but I couldn't get it to work and it is not documented very well online for the community edition.  Clarckconnect cost $430 dollars for the version with two WAN so I could not justify it.  If any one knows of a linux variant that I could try with dual wan support, it would be greatly appreciated (I just want to check if the UPNP with xbox works). 

Otherwise, I will probably have to run a separate line from my dd-wrt router to my pfsense box, which means running another cable.  So a setup like this.


DSL -------------------------------------|
                                                               |
                                                               |---->Pfsense----->rest of network
Cable -------> DD-WRT Router -|---->|
                                                               |
                                                               |----->xbox 360
 

Zack                     

Offline rsw686

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 520
    • View Profile
    • The Reptile File
Re: UPNP fails when play
« Reply #31 on: August 02, 2007, 11:56:50 am »
OpenWRT uses miniupnpd as well. What client does DD-WRT use? Maybe you could post your problem on the miniupnpd forum accessible from the below link.

http://miniupnp.free.fr/

Otherwise I will take a look at it when I get the debug output or next week when I have access to an xbox 360. I'm just not overly compelled to fix this as it's an xbox implementation issue and I don't game.

Offline zboll

  • Jr. Member
  • **
  • Posts: 36
    • View Profile
Re: UPNP fails when play
« Reply #32 on: August 02, 2007, 12:13:16 pm »
I looked but I couldn't find it, I believe that dd-wrt is closely related to open-wrt.

I have two dd-wrt routers available, so I may just use one as a wireless bridge to my xbox so I dont have to run another cable.  Do you think I would notice a performance boast upgrading my pfsense box from a p2 400 mhz 386 mb ram to p4 2.4 ghz 512 mb ram.  The thing is my P4 has a 250 gb hard drive and pfsense does not support samba.  If you guys think its worth the upgrade, I might just have my linux box mount the pfsense harddrive using ssh filesystem so I dont waste all that space.  Probably not the best but I think I should still be able to stream DVD on gigabit network.

Zack

Offline LawnMowerGuy1

  • Jr. Member
  • **
  • Posts: 37
    • View Profile
Re: UPNP fails when play
« Reply #33 on: August 02, 2007, 02:17:56 pm »
OpenWRT uses miniupnpd as well. What client does DD-WRT use?
DD-WRT uses a variant of the hacked Linksys client.

Offline zboll

  • Jr. Member
  • **
  • Posts: 36
    • View Profile
Re: UPNP fails when play
« Reply #34 on: August 02, 2007, 07:26:18 pm »
thanks for the info.

I think that im just going to do the dd-wrt wireless bridged to the xbox with pfsense behind the dd-wrt.  I would eventually like to try out a one level solution but the only option I am aware of right now that supports dual wan is the commercial version of clarkconnect.  If anyone has a distribution up for recommendation to try, I would appreciate it.

thanks,
Zack

Offline rsw686

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 520
    • View Profile
    • The Reptile File
Re: UPNP fails when play
« Reply #35 on: August 02, 2007, 07:34:12 pm »
Instead of asking for other distributions why not get me the miniupnpd debug info and I'll have to look to see if I can fix it.

Offline rsw686

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 520
    • View Profile
    • The Reptile File
Re: UPNP fails when play
« Reply #36 on: August 08, 2007, 04:41:28 pm »
I had some free time to look into this. I corrected the code so xbox 360 will not keep mapping additional ports. I implemented a check so if the existing redirect is identical to the redirect request it will ignore the request.

To install this you need to be using a hard drive install or embedded version of pfSense. I am not going to commit this until I finish testing it further and the miniupnpd author patches his source with it. It just becomes too hard to maintain the patches otherwise.

On the console
cd /tmp
fetch http://wgnrs.dynalias.com:81/pfsense/miniupnpd/sh-replace-binary.sh
fetch http://wgnrs.dynalias.com:81/pfsense/miniupnpd/devel/miniupnpd
chmod +x sh-replace-binary.sh
./sh-replace-binary.sh miniupnpd

The md5 returned should match 6d170ae9fa1d5a28a33d6ec00ffca4ac. If it does then your good to go. Let me know if this solves your problem.

Offline forum

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: UPNP fails when play
« Reply #37 on: August 10, 2007, 04:22:24 am »
ok seems to work i just got one port for the xbox 360 and the nat is open but i will test this one out mokre today

« Last Edit: August 10, 2007, 04:28:06 am by forum »

Offline rsw686

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 520
    • View Profile
    • The Reptile File
Re: UPNP fails when play
« Reply #38 on: August 12, 2007, 05:10:10 pm »
ok seems to work i just got one port for the xbox 360 and the nat is open but i will test this one out mokre today



Did you get a chance to test it out more?

Offline zboll

  • Jr. Member
  • **
  • Posts: 36
    • View Profile
Re: UPNP fails when play
« Reply #39 on: August 15, 2007, 11:34:14 pm »
I have been out of town for the week, I am going to try to get my pfsense box back up and running to test.

thanks,
Zack

Offline zboll

  • Jr. Member
  • **
  • Posts: 36
    • View Profile
Re: UPNP fails when play
« Reply #40 on: August 16, 2007, 02:02:24 am »
Ok, I just did the upnp but I am still having trouble.  My problem is when I try to connect to xbox games, I have trouble getting into games.  I think maybe it is not a problem with upnp.

Do you guys think maybe my hardware is too slow?  P2 400 mhz 386 mb ram.

I am able to connect to games easily on my dd-wrt router so I dont think it is an ISP issue, I am going to try plugging my xbox 360 directly into the router without going through any switches and see if that helps.

Zack

Offline forum

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: UPNP fails when play
« Reply #41 on: August 17, 2007, 10:13:20 am »
yes it seems too work but my other computer who is using upnp is not listed any more but i work,s with xbox 360 my friend is not home saw i can,t test it saw much that i want.

Offline KoSoVaR

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: UPNP fails when play
« Reply #42 on: August 23, 2007, 11:55:05 pm »
Hello,

I am willing to test this.  If you need the output of anything, just tell me what I need to do.  I learn very quickly so I can get screenshots up or a text dump out no problem.  I also have an Xbox 360 connected to live that my Dad plays non stop and he can't connect to games.. but I use pfSense for my home network because it's just amazing.

I applied the patch just 30 seconds ago - I will update you guys on what's happening with it and what not. 

Best Wishes

Offline rsw686

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 520
    • View Profile
    • The Reptile File
Re: UPNP fails when play
« Reply #43 on: August 29, 2007, 02:33:21 pm »
I just committed that latest version of MiniUPnPd RC8 which includes the xbox fix and some other fixes. The snapshots created after the time stamp on this post will have it included.

Offline KoSoVaR

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: UPNP fails when play
« Reply #44 on: August 30, 2007, 12:53:51 am »
That fix works perfect...

Now.. do I have to reinstall pfSense to keep it updated or how do I go about making it work ?