30.12.2008, 13:38
PooBear Wrote:scoggy7 Wrote:I am wondering if anyone knows how to get IL2 to work through a router. My friends and and I play online coop games through my pc. However, since I have hooked up a router they can no longer connect. I have to disconnect the router in order for them to play. I have heard that the router acts as a firewall and blocks others from joining. I read somewhere that you can do something with the ports to stop this from happening. Does anybody know how to do this as unhooking my router everytime we play is getting to be a pain.
Thanks
open port 21000 udp in your router to host.
you dont need to open ports for hyperlobby to host
True PooBear, you don't need to open a port for hyperlobby.
But you do need to modify your hlpro.ini to point it to your machine's static IP to be able to host a game on HL when behind a router.
As shown in my post my machine's static IP is 192.168.1.110.
To be able to host on HL, I need to tell HL what machine on my home network will be hosting.
To just join a HL game there is no need to modify your hlpro.ini nor open/forward any ports on your router.
Sorry if by throwing in this additional information I may have confused things.
Anyway my hlpro.ini looks like the following:
[Forgotten Battles]
joinDelay=20
clientRate=8000
;Determine the client source port. Useful when is more that one user behind the NAT router.
;Must be diferent for each user behind the same NAT router
localPort=21000
;This detecting right IP address for systems with more that one network adapters
;Default is 1 (on)
DetectLocalIP = 0
;Set to 1 when both server and client are behind a router, using
;private network address and both are behind one public ip address
loopback=1
;When is loopoback set to 1, here must be specified private ip address
; of the server behind a router
loopbackip=192.168.1.110
Order=20
Difficulty=3
serverPort=21000
MaxPlayers=32
Description=OC
Just trying to help
I yearn for the simple old days of dial-up and Win98
It worked !
ps (or pu), welcome to the wonderful world of routers scoggy !
....and don't believe a word about a router's firewall doing a great job.
You better have one up, either Windows' one or free Zone Alarm. ZA has blocked many an attempt to get at my home network.
And also remember that IL-2 has to "ping" machines for coop playability.