LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Squid Proxy (https://www.linuxquestions.org/questions/linux-newbie-8/squid-proxy-466688/)

computerdaves 07-23-2006 12:43 AM

Squid Proxy
 
How do I make squid clear a connection faster? I am using squid to beable to play a online game. Seems that it is allowing the two connections now because we are behind a proxy but it dissconnects and lags us. The squid server is on an unquestionable ample stats machine.

How do I make squid reset the connection to peer faster. Or something like that.

Hard to ask a question about something I am new too.

computerdaves 07-23-2006 11:17 PM

okay to explain this a bit better, is, I am video gaming over the proxy, how to i create less latency..?

is there someway to make the proxy faster?

win32sux 07-23-2006 11:22 PM

is there a reason in particular why you aren't using NAT instead of a proxy??

what version of squid are you using?? did you compile it yourself??

computerdaves 07-24-2006 12:24 PM

I am not using nat, because the game network I am using requires me if I want more than 1 connection that I MUST do it with a proxy. I have tried nat on my router but it doesn't seem to work very well on this router. It can handle most things but can not handle proper mapping when two pc's are using the same port. Go figure it does http perfectly.

Or do you mean use NAT on the linux machine, that is a no option, I do not want my linux machine to handle connections to the internet. I let hardware do that for me.

The Squid I am using is the latest version with the latest fedora core 4, and security updated. It was easy to configure and seem to work very well indeed. It allows us to use multiple connections to this game server, stable, we can do everything we want to except when we disconnect from a game it logs us out rather than dropping us to the chat.

I know this is confusing, hope we can work a solution out.

win32sux 07-24-2006 04:02 PM

what game/network is it?? could you post a link to it's website?? have you tried looking for a FAQ or something like that with a connection troubleshooting section??

yes, i was refering to doing NAT with a linux box, the squid box you have would be able to do both NAT and squid without any problems at all... but if you don't wanna do that because you prefer your dedicated consumer-grade router then that's fine also...

since your squid binary is provided by your distributor, it's fair to assume it's properly optimized, but there's still a possibility that a compile-time option you need was left-out... there's also the issue of your run-time configuration... post your squid.conf here to see if anyone spots something which could be causing your issue... save space by not posting the comments or the spaces, like this:
Code:

cat /etc/squid/squid.conf | grep -v ^# | grep -v ^$
Quote:

Originally Posted by computerdaves
we can do everything we want to except when we disconnect from a game it logs us out rather than dropping us to the chat.

i was actually under the impression you were refering to lag... i don't have a clue what could cause an issue like this... it's hard to even google for help in this case, since we don't even know the game or network you are using...

by the way, are the PCs where you are playing running Windows??

computerdaves 07-24-2006 06:13 PM

yes they are windows, and it's battle.net diablo2 exp that is causing me the network problems. battle.net states that it is NAT friendly, I guess my SMC router isn't friendly enough with NAT however, unless I am mixing up 'rule' in the router.

The problem is frustrating to say the least, however; as squid is doing for me now, at least my wife an I are able to play in same game at same time.

I may take the option of using linux as a nat router as well based on your comment 'consumer strenght router' as linux would do the job much better I presume, however; this just isn't an option at this time, and squid is.

;)

I will post my config soon.

win32sux 07-24-2006 06:24 PM

Quote:

Originally Posted by computerdaves
yes they are windows, and it's battle.net diablo2 exp that is causing me the network problems. battle.net states that it is NAT friendly, I guess my SMC router isn't friendly enough with NAT however, unless I am mixing up 'rule' in the router.

well, while you figure that out, here a link that might be useful:
Quote:

If you have ever tried to play on Battle.net with multiple computers on your LAN, then you are probably aware that things don't work quite as expected. This is a result of the Battle.net games all trying to use the same port number on your network. The first machine can log in to Battle.net, but all other machines will be unable to play due to connection errors. The solution is to configure the Blizzard games so that none of them share the same port number. It doesn't matter if you use a Mac or Windows, this site can help.
http://www.junkboxoftech.com/battlelan/

Quote:

I may take the option of using linux as a nat router as well based on your comment 'consumer strenght router' as linux would do the job much better I presume, however; this just isn't an option at this time, and squid is.
i completely understand...

Quote:

I will post my config soon.
cool...

computerdaves 07-25-2006 12:38 AM

his thing doesn't work, even when i connect game i do a netstat and it still using 6112...


All times are GMT -5. The time now is 06:46 PM.