raknet remote connection problem

Started by
9 comments, last by SiS-Shadowman 15 years, 2 months ago
Hi I have successfully setup a raknet server on my linux machine, a client app on my windows machine. however, i could not connect to my raknet server on my linux machine. I tried to telnet to make sure I have opened the port successfully (using nc -l) and I was able to from my windows xp. But I could still not connect to it with the raknet client app. Connecting localhost via raknet is fine on my linux box. Any ideas? Thanks.
Advertisement
What does Wireshark or tcpdump tell you, on each of the machines, while trying to connect?
enum Bool { True, False, FileNotFound };
Hi

Could you tell me how to execute tcpdump (params etc.) and what to look out for ?

I installed wireshack into my windows xp machine seems like what i needed to do is install wireshack into linux, but my linux does not have any gui.

Thanks for your help.
Hi

I have some interesting findings, though am not sure if it would help.

i tried to use tcp dump to listen to the local loopback in my linux box

tcpdump -i lo -vv port 12000

It dumps the packets being send back and forth between both linux raknet server and client app.

But when i try to use tcpdump to listen to eth0:0 (which holds the outside ip address):

tcpdump -i eth0:0 -vv port 12000

tcp dumps stops dumping data from the raknet server and client app.

Though i don't know still what to do.
So perhaps the raknet server is not bound to the external IP address?

And why are you using the external IP address, anyway? If both the Linux and the XP machine is on the internal network, wouldn't it be much easier to use the internal address? Some routers can't even do hairpin NAT routing, so the external IP would be "dead" from the internal point of view.
enum Bool { True, False, FileNotFound };
Quote:Original post by hplus0603
So perhaps the raknet server is not bound to the external IP address?

And why are you using the external IP address, anyway? If both the Linux and the XP machine is on the internal network, wouldn't it be much easier to use the internal address? Some routers can't even do hairpin NAT routing, so the external IP would be "dead" from the internal point of view.


Hi,

thanks for trying to help. I'm not sure if i am suppose to bind raknet to an external ip address? should i?

My windows xp and linux machine is not on the same network. I rented a dedicated server from iweb.com and that's where i deployed my raknet server.

The client raknet app i'm develping is on my local windows computer.

However, im not sure i still understand what you said on the last part (ie, nat routing).

You can let me konw what things i can try, and i can let you know what happened.

Thanks.
Hi

I tried these additional things:

I disconnected from my router, and connected directly to the net with my windows xp. Turned off windows firewall as well as turned off iptables from my linux machine.

I don't know what else to try - in fact my raknet server is up right now you can try:

72.55.159.125:465

I used tcpdump to listen to port 465 and i got these information when i try to connect my windows raknet client:

07:15:25.822915 IP 122.2.241.5.pldt.net.14639 > cl-t046-230cl.privatedns.com.465: UDP, length 2
07:15:25.843951 IP cl-t046-230cl.465 > 122.2.241.5.pldt.net.14639: UDP, length 2
07:15:26.326536 IP 122.2.241.5.pldt.net.14639 > cl-t046-230cl.privatedns.com.465: UDP, length 2
07:15:26.825662 IP 122.2.241.5.pldt.net.14639 > cl-t046-230cl.privatedns.com.465: UDP, length 2
07:15:27.326786 IP 122.2.241.5.pldt.net.14639 > cl-t046-230cl.privatedns.com.465: UDP, length 2
07:15:27.828162 IP 122.2.241.5.pldt.net.14639 > cl-t046-230cl.privatedns.com.465: UDP, length 2
07:15:28.329789 IP 122.2.241.5.pldt.net.14639 > cl-t046-230cl.privatedns.com.465: UDP, length 2
07:15:28.840905 IP 122.2.241.5.pldt.net.14639 > cl-t046-230cl.privatedns.com.465: UDP, length 2
07:15:29.340281 IP 122.2.241.5.pldt.net.14639 > cl-t046-230cl.privatedns.com.465: UDP, length 2

Doesn't it mean that my windows raknet client app is successfully "trying" to establish a connection? That is my router's ip address - 122.2.241.5. But still i end up with Raknet's connection failed error.



This may be futile, but try binding your local server address to an external DNS, like No-IP
Ah! I thought the machines were on the same network.

If you can telnet, but the client can't connect, then something else is wrong. What does Wireshark on the Window side say, compared to tcpdump on the Linux side?
enum Bool { True, False, FileNotFound };
I'm not sure which ones to use on wireshack. It has hundreds of options and controls, would you tell me how I would use wireshack to troubleshoot?

The tcpdump however is the one I posted above.

This topic is closed to new replies.

Advertisement