70470 Posts in 6879 Topics - by 687 Members - Latest Member: Laricwashere

Author Topic: Battlefield 3 Lan party problem  (Read 5738 times)

Offline krakah

  • Supreme Gamer
  • *
  • Posts: 380
  • Karma: 6
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 17.0.963.79 Chrome 17.0.963.79
Re: Battlefield 3 Lan party problem
« Reply #15 on: March 23, 2012, 07:09:20 PM »
I'm pretty sure I'm already onto something here but I wont be sure until tomorrow.

I'm not sure how the dual WAN scenario will play out though. Theres alot of levels of NAT going on here.

I noticed that VZ already NAT's my phone becaue it picks up a 10.X.X.X address.
PDANet will NAT the laptop.
Internet connection sharing will then put pfsense behind another NAT
and finally pfsense will be NAT'ing for the pc's

Your head spinning yet?
Vitality Gaming
www.vitalitygaming.com

Offline sully!

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 4997
  • Karma: 16
  • If the future is now, where's my jetpack?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 17.0.963.83 Chrome 17.0.963.83
  • Steam ID: sully213
  • XBox Gamer Tag: FITESully
Re: Battlefield 3 Lan party problem
« Reply #16 on: March 23, 2012, 09:49:29 PM »
I think you need about 13 more pfSense boxes just to be sure ;)

The firewall rules (set on the LAN interface because they are outgoing rules) are attached. WAN2 was completely turned off at this point as you can see by the last rule in the list. I was originally intending to keep all non-BF3 traffic to go out WAN2, but as I was troubleshooting I decided to take WAN2 out of the mix entirely just in case I was missing a port from the rules list, or the traffic wasn't being properly identified and routed out WAN1. Also, the three IP's you see listed are the BF3 servers we used for the tourney just as an extra measure of "paranoid packet passing".

One thread on the pfSense forums suggested turning on Sticky Connections, which I did (System:Advanced:Miscellaneous) but reading the description of it now, it seems like it's more for incoming load balancing and even if the dual-WAN was turned on for BF3 it wouldn't have mattered for it's outbound traffic.

There are no additional packages of note installed and as mentioned earlier, the only service listed as running in the dashboard is the NTP server.

Hope that helps and of course, let us know what you find or ask other questions here if needed.
Please just walk away. I don't want to have to stand here and say something so awesome that I'll have to remember it the rest of the day. Thank you!

Offline krakah

  • Supreme Gamer
  • *
  • Posts: 380
  • Karma: 6
  • OS:
  • Linux Linux
  • Browser:
  • Safari 4.0 Safari 4.0
Re: Battlefield 3 Lan party problem
« Reply #17 on: March 23, 2012, 10:50:28 PM »
Cool. Thanks.  I'm on my phone so I'm kind of just skimming over this but it looks helpful.  Ill read over it again tomorrow.  Ill add you to steam too.  If you have time tomorrow while we'really working on this and want to sit in or offer any suggestions for troubleshooting I can setup any appropriate remote connections.  Who knows...  the more heads we can get in this the better chance we have at solving a problem that could benefit the comminty as a whole.

My biggest fear is that it just works and we have nothing to fix.  Then we have to intelligently break something....  but we'll see I guess..
Vitality Gaming
www.vitalitygaming.com

Offline krakah

  • Supreme Gamer
  • *
  • Posts: 380
  • Karma: 6
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 17.0.963.83 Chrome 17.0.963.83
Re: Battlefield 3 Lan party problem
« Reply #18 on: March 24, 2012, 04:41:52 PM »
What do you guys have outbound NAT set to?

http://i.imgur.com/mTpRV.png

I had it initially on default and the state table looked like this....

Code: [Select]
jared
udp 66.55.159.91:25200 <- 172.16.0.103:3659 MULTIPLE:MULTIPLE
udp 172.16.0.103:3659 -> 108.2.145.140:3659 -> 66.55.159.91:25200 MULTIPLE:MULTIPLE
icmp 66.55.159.91:1 <- 172.16.0.103 0:0
icmp 172.16.0.103:1 -> 108.2.145.140:22595 -> 66.55.159.91 0:0


sean
udp 74.91.113.111:25200 <- 172.16.0.117:3659 MULTIPLE:MULTIPLE
udp 172.16.0.117:3659 -> 108.2.145.140:3659 -> 74.91.113.111:25200 MULTIPLE:MULTIPLE
icmp 74.91.113.111:1 <- 172.16.0.117 0:0


eric
udp 74.91.116.205:25200 <- 172.16.0.116:3659 MULTIPLE:MULTIPLE
udp 172.16.0.116:3659 -> 108.2.145.140:3659 -> 74.91.116.205:25200 MULTIPLE:MULTIPLE
icmp 74.91.116.205:1 <- 172.16.0.116 0:0

We tried to all conenct to the same BF3 server and as you can see all communication is going out on port 3659.  This obviously presents a problem when the server replies to the WAN.

I changed the outbound NAT setting to automagic, and the source ports coming from the router are completely random, and we can connect.
« Last Edit: March 24, 2012, 04:48:27 PM by krakah »
Vitality Gaming
www.vitalitygaming.com

Offline krakah

  • Supreme Gamer
  • *
  • Posts: 380
  • Karma: 6
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 17.0.963.83 Chrome 17.0.963.83
Re: Battlefield 3 Lan party problem
« Reply #19 on: March 24, 2012, 04:53:56 PM »
Going to test a Stinksys router with DDWRT.  Will post results.
Vitality Gaming
www.vitalitygaming.com

Offline sully!

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 4997
  • Karma: 16
  • If the future is now, where's my jetpack?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 17.0.963.83 Chrome 17.0.963.83
  • Steam ID: sully213
  • XBox Gamer Tag: FITESully
Re: Battlefield 3 Lan party problem
« Reply #20 on: March 24, 2012, 07:35:19 PM »
Outbound NAT is set to automatic.
Please just walk away. I don't want to have to stand here and say something so awesome that I'll have to remember it the rest of the day. Thank you!

Offline krakah

  • Supreme Gamer
  • *
  • Posts: 380
  • Karma: 6
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 17.0.963.83 Chrome 17.0.963.83
Re: Battlefield 3 Lan party problem
« Reply #21 on: March 25, 2012, 11:19:21 AM »
Well... in order to change routers I've always had to call up support and get them to break the DHCP lease.  I assume its tied to the MAC address of the router, but even spoofing the MAC on the DDWRT router didnt help.  It refuses to pull a WAN IP unless you call support.  I sat on the phone on hold  90% of the time with FiOS support for 40 minutes and eventually was hung up on.  I've made that call lots of times but for some reason I must not have had good luck.  So we never tested the DDWRT router.  :(

We got the dual WAN's setup, but couldnt get a stable enough connection even for web traffic.  3G signal at my house isnt very good.  I dont know what else to try to do for a Dual WAN.  I wish there was something I could install in pfsense that could tether straight to from my phone rather than adding another level of complication to it.

After we switched to Automatic Outbound NAT, the Public interface was communicating on random outbound ports  and we recieved no errors for anything at all.  No Punkbuster errors either. 

We kind of got bored and thought it would be a good idea to play with the one model rocket I had.  And then after not retrieving it on a windy day when I'm sure it ended up in the next town, we TRIED to make a rocket out of an empty Corona bottle.  When that endeavour failed we decided to light off a rocket engine with no rocket.  Those are gonna make for funny YouTube videos.

I have pcaps and pfsense was sending all firewall logs to a syslog server that has a webadmin.  I might try to go through those on another day.

I was hoping that it wouldnt work so we had something to try to fix.  Unfortunately it did.  I only have one copy of BF3 so testing it again will have to wait for another time more people are over.  We have a spare Steam account for our group, but havent gotten around to a spare Origin account yet.  I should have jumped on that when BF3 was half off this past week.

Sorry I couldnt find more :(  Maybe the pcaps/logs will offer some more insight. 

*EDIT*

Also looking at vG's BF3 server through TCAdmin, it has an option to delete the PB Screenshots and Logs.  I can look at screenshots, but I dont see a way to look at PB logs.  I can look at the server logs, but I'm not sure if anything relevant will be in there.  Are the servers you guys were running still up?  Would it be possible to get those PB logs?
« Last Edit: March 25, 2012, 11:32:55 AM by krakah »
Vitality Gaming
www.vitalitygaming.com

Offline sully!

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 4997
  • Karma: 16
  • If the future is now, where's my jetpack?
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 17.0.963.83 Chrome 17.0.963.83
  • Steam ID: sully213
  • XBox Gamer Tag: FITESully
Re: Battlefield 3 Lan party problem
« Reply #22 on: March 25, 2012, 06:20:23 PM »
WAN2 was completely turned off at this point

Don't get hung up on the dual WAN's.....we did NOT use them during the BF3 tournament.

I am pretty certain we didn't renew the FITES BF3 server. The other two servers were "donated" by other groups, though I'm not sure who they are. Czar would have that info.
Please just walk away. I don't want to have to stand here and say something so awesome that I'll have to remember it the rest of the day. Thank you!

Offline gri3v

  • Veteran Gamer
  • *
  • Posts: 127
  • Karma: 5
  • Co-founder of Vitality Gaming
  • OS:
  • Windows XP Windows XP
  • Browser:
  • MS Internet Explorer 8.0 MS Internet Explorer 8.0
  • Steam ID: gri3v
Re: Battlefield 3 Lan party problem
« Reply #23 on: March 26, 2012, 10:30:34 AM »
The other two were donated by me :)

Will be more than happy to do it again for next year if BF3 is a tourny game!
Case: Corsair 250D|PSU: Corsair HX 750W|OS: Windows 10 Pro 64-bit|Mobo: ASUS Z971-Plus|CPU: i7 4790k
|RAM: 16 GB G-SKILL DDR3|SSD: 2x 256 GB Samsung 840 Pro|HDD: 2x 1 TB Samsung Spinpoint F3|Video Card: GTX 970|Headphones: Sennheiser PC 350 SE|Monitor: BenQ XL2420T|Mouse: Razer Deathadder 2013|Mousepad: SteelSeries QcK+|Keyboard: Razer BlackWidow Ultimate