Author |
Message |
DEY_SCULL_AUS
Post Newbie
Joined: Oct 08, 2004
Posts: 8
Location: Australia
|
Posted:
Sun Nov 20, 2005 7:41 am |
|
Hi, I am trying to setup a ded server running in hyperlobby. Everything is working fine in that the public can join via hyperlobby and I can join by directip (no hyperlobby). The problem is I can't join via hyperlobby.
The server is running on a second pc on my LAN, using ip 192.168.0.3:21001. I have port forwarded 21001 to that machine using my netgear router. I have tried turning off all firewalls on both machines.
Using a network activity logger, I can see that hyperlobby is trying to connect the client machine to the server machine using the address 210.149.x.x:21001 which is the external ip of the router. In other words, hyperlobby is treating me the same as someone on the outside internet.
Is there a workaround for this problem? I am very keen to get this working, so that my squad buddies can see when I'm in the server. Also, the server will hopefully be used for some tournaments where even numbers for teams is very important, and if I'm not showing up in hyperlobby it might put the numbers out.
Perhaps if there is no workaround, jiri could add a feature in the next version whereby if a user holds down a certain hotkey when clicking join, a query window would open asking for an ip/port address. The user could then enter the local intranet address for the server they are trying to join.
Scull. |
|
|
|
|
DEY_SCULL_AUS
Post Newbie
Joined: Oct 08, 2004
Posts: 8
Location: Australia
|
Posted:
Wed Nov 23, 2005 2:26 pm |
|
I have described my problem to my router manufacturer, and their response was that netgear routers do not support loopback requests. So if this is to be resolved it will have to be done with hyperlobby. I need to make hyperlobby try to connect using the local ip and not the external ip.
Perhaps there is a problem with my hlpro.ini's -
Server machine (192.168.0.3:21001)
[Forgotten Battles]
joinDelay=5
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=21001
;This detecting right IP address for systems with more that one network adapters
;Default is 1 (on)
DetectLocalIP = 0
Order=20
Description=4.02, various historical planesets
MaxPlayers=16
Difficulty=3
serverPort=21001
Client machine (192.168.0.2)
[Forgotten Battles]
joinDelay=10
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
Order=20
Description=dcg, clouds=0
MaxPlayers=8
Difficulty=3
serverPort=21000
Any help greatly appreciated. Is there no way to manually tell HL what ip address to connect with? |
|
|
|
|
Jiri-Fojtasek
Site Admin
Joined: Feb 02, 2003
Posts: 1737
Location: Slovakia
|
Posted:
Fri Nov 25, 2005 7:34 pm |
|
Hello
This is not posible by any current setup. But i have done version than allow it
Simply read and edit hlpro ini:
Code: |
;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=0
;When is loopoback set to 1, here must be specified private ip address
; of the server behind a router
loopbackip=
|
set:
loopback=1
loopbackip=192.168.0.3
EDIT: This feature is supported by the latest version of HL |
_________________
Last edited by Jiri-Fojtasek on Fri Aug 04, 2006 8:32 pm; edited 1 time in total |
|
|
|
DEY_SCULL_AUS
Post Newbie
Joined: Oct 08, 2004
Posts: 8
Location: Australia
|
Posted:
Sat Nov 26, 2005 4:23 am |
|
Great news, thanks very much jiri I just tried it and I could connect nicely.
One small thing I might suggest is to add another parameter to the hlpro.ini file so that LAN clients can connect to the server on a second UDP socket/port...
eg.loopback=1
loopbackip=192.168.0.3
loopbackport=21002
Thanks again,
Scull |
|
|
|
|
Muas
Post Newbie
Joined: Oct 01, 2006
Posts: 7
|
Posted:
Sun Oct 01, 2006 3:28 pm |
|
Thank you very much.
This thread sure helped me out putting my server/lan together.
The problem now is a timeout kick I don't seem to sort out.
The client gets kicked out after a minute or so of flying time...
Help!... |
|
|
|
|
Jiri-Fojtasek
Site Admin
Joined: Feb 02, 2003
Posts: 1737
Location: Slovakia
|
Posted:
Thu Oct 05, 2006 8:29 pm |
|
For that its sticky. Next version of HL come out soon and i preparing massive overhaul of the faq section because lots of things being changed |
_________________ |
|
|
|
_RAAF_Mako
Dude
Joined: May 28, 2003
Posts: 15
Location: Australia
|
Posted:
Sat May 19, 2007 11:48 am |
|
Some routers do support loopback . Linksys, Billion and freeBSD all supprt it and I have no trouble looping back via HL with either my freeBSD based router or my Billion 711. |
|
|
|
|
|