raknet remote connection problem
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.
What does Wireshark or tcpdump tell you, on each of the machines, while trying to connect?
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.
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.
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.
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.
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.
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.
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?
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?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement