Strayer 0 Posted December 28, 2003 Hi, I have a new Linux Router and it works perfectly. Teamspeak and Games are running great on my Windows PC. BUT Operation Flashpoint has hard connection problems. I had a ping of 25-40 with my Windows PC connected to the Internet. Now i have a ping of 160-600 in OFP. Bandwidth around 5-90. But no Desync!? Well.. As I said, I only have this problem in OFP. But TeamSpeak works great, even when i actually HAVE this problems. I'm connected to a 100mbit switch, which is connected to the Router. The router has a direct connection to the DSL Modem. I'll try to kill my Flashpoint Directory and do a fresh install, but this cannot be the problem because these problems just appeared as I installed the router. Please Help Share this post Link to post Share on other sites
blackdog~ 0 Posted December 28, 2003 Not sure if it's related, but have you tried opening up ports 2302-2304? This might help. Share this post Link to post Share on other sites
shinRaiden 0 Posted December 28, 2003 You say this is a linux router... is this a firewall/router appliance like the linksys or netgear etc. mini-switch and DSL router, or is it a full computer with linux that you setup IPtables and NAT on? In anycase, you are going to have some sort of additional ping due to going through a router. Chances are the firewalling system is either so strict or slow that it is delaying the packet processing. -edit- Missed the part about the switch, was that there prior? What did you change, just adding the router? Dependind on what router and switch you have, you have several options: 1) MESSY! Set some QOS policies on both the switch and the router to give special priority to all packets from a given IP attached to ports 2302 through 2304. 2) Physically switch the net cable for the OFP machine from the switch to a DMZ connection. 3) Adjust the routing tables to give higher priority to the OFP packets, and purge the tables down as much as possible. 4) Disable as many ports as possible, to minimize the amount of interfaces available. 5) Dynamic routing and discovery protocols can hit network overhead and latency. Check to see if that is configured, and if you really need it. Share this post Link to post Share on other sites
Strayer 0 Posted December 28, 2003 That's what I changed: Before: Windows PC with direct connetion to the DSL Modem. No Problems. Now: Windows PC :--100mbit Network Cable--: 100mbit Hub/Switch :--100mbit N. Cable--: Linux-PC :--100mbit N. Cable--: DSL Modem It's a old PC with a 233Mhz Pentium MMX. There is Gentoo Linux installed and the Firewall is iptables. The firewall is configured to let everything out and everything that comes over that port back is allowed too. Maybe Windows had Problems with some NetSettings. I reinstalled Windows yesterday and I'll reinstall OFP today. I hope the Problems are gone. Edit: Well, i didn't play very long, but the Bandwidth was not better. The Ping a little bit. But now i also got desync. I'll try a newer iptables (not stable) Share this post Link to post Share on other sites
shinRaiden 0 Posted December 29, 2003 Since this is a blended unix environment, we have to do things a bit differently here... Okay, first thing I'd do is disable the UPNP functions anywhere on your LAN. My Linksys AP/Switch had it enabled, and it was totally confusing XP, as I was trying to hit Samba instead. If you're just using this linux box as a router (no other functionality), you may want to look at a one of the floppy or cd based diskless distributions specificly tuned for firewalling. Also, you'll probably want to compile a custom kernel with a draconian minimal cut on options to speed things up. Furthermore, if you are using a stock recent distribution, there is likely a whole pile of fluff in there too. Seriously though, all you basicly need is ssh access, iptables, and xinet.d running. Because it is not specificlly designed for this application, this may be the best you'll get off of a P-233 box. IIRC, only one device on the PCI bus can talk at a time, so eth0 would have to wait until eth1 was done before batching it's data to the cpu. Whatever NIC you have in there is almost garuanteed to not have off-bus streaming capability. You're also possibly running into PCI bandwidth issues too. For stable/secure iptables though, you'll need at least a good 2.4 kernel. I don't know what the policy is on ipchains anymore, but that's already archaic, and it was a hack anyway. Share this post Link to post Share on other sites
Strayer 0 Posted December 30, 2003 There is Gentoo installed. Well, Gentoo is nearly nothing when it's installed. Only the Basic things like an editor, gcc and so on. Thats the cool thing on Gentoo ;) Well, i will try to compile a newer Kernel. (It's 2.4.20 or something like that) Share this post Link to post Share on other sites