Public Server Only Works On Localhost
Hey guys,
So im at a loss here. My windows server runs 100% and my to log in from multiple computers (differnt internet). But my debian linux install will not. I installed debian into a vmware virtual machine and have everything set up. My server shows up on the server selection screen and I can log on using the windows partition of that camputer (one with vmware running linux), but I cannot log on to my server using another computer (a computer which can log on to any other server). It just cycles back to the log in screen after several minutes. Here is some stuff I can think of that might help find the problem: eqemu_config.xml Code:
<?xml version="1.0"> Code:
cat > start << EOD6 Code:
cat > stop << EOD7 Code:
cat > persist_world << EOD8 Code:
+ LNAME=zone Sikkun |
How about some log outputs from the login/world/zone - whatever stages you pass through.
Also I saw that the address/localaddress fields are commented out, I am not sure linux will be as friendly as windows when it comes to recognizing the interface to use. |
It is almost certainly that you have this:
Quote:
It would make sense that your windows box could connect to the server on the VM (local address to local address) but the VM wont send the proper (public) IP address back out to the EQ clients until you fix this. If you have a dynamic IP, you'll have to change it each time it updates. Hope that helps, -orkim |
So I tried changing my .xml to (ip I got from sudo ifconfig)
Code:
<tcp ip="192.168.158.128" port="9000" telnet="disable"/> Code:
--------------------------------------------- |
That is a private IP address. Anything (172.16.x.x, 192.168.x.x, 169.x.x.x or 10.x.x.x, etc) that is a private address is not going to work if you're trying to connect to it via the internet.
Go get your public address. If you do not know how to get it from your router/modem then use a public site like http://whatismyipaddress.com/ or one of the hundred other ones of your choice. However, I did hastily read your post and cut/paste the wrong section. Put your entry back to 'localhost' for the <tcp> tag and update these: Quote:
More info here: http://www.eqemulator.net/wiki/wikka...tion#addresses You *will* need to set these. =) Beyond that, you're talking about ports being forwarded properly, and that you don't have the router/modem, windows firewall, virtualization software itself, or linux firewall in the way. Ports could be blocked anywhere down that chain. Try that, and get back, -orkim |
Hey,
So I'm trying: Code:
<address>97.143.11.53</address> and localaddress - sudo ifconfig (in linux box) changed the other one back to localhost. Now im back to the orginal problem =( can log on from the local host but not from any other computer. I also tried this using 0 firewalls on both computers. I almost want to say the problem is because im using a evdo 3g air card, but seeing that has no problem allowing users to connect on windows it has to be something in the config. Alo my Vmware only lets me connect to the internet using NAT (to share the ip with my host) not sure if that coule be a problem. Thanks, Sikkun |
You should now be able to connect to your server from the internet. Have a friend, or someone outside your LAN, confirm that they can connect. I do not see why a 3g card would be an issue as long as your connection is outside the LAN the eqemu server is running on.
If not, it must be ports that are not forwarded properly. Port 9000, and all zone ports (viewable in the database) must be forwarded. Can you confirm this works? |
Currently you can not log onto the server outside of the lan.
I have a feeling it has something to do with Vmware's NAT connection, I don't know if there is anyone that has there server running on vmware that has any hints?? |
Ok so I moved my computer to an actual network just to see what would happen. I have the ports 7000-7100 and 9000 forwarded on the router and my Windows server lets people outside of the LAN connect.
Vmware Linux on the other hand...grrr I have the vmware set to a bridged connection and I made my Ip (Windows) static. if I do a ipconfig (Windows) I'm told my ip is: 192.168.2.150 if I do a ifconfig (Linux) I'm told my ip is: 192.168.2.5 whats my ip on both gives me: 70.126.158.125 my eqemuconfig: Code:
<!-- DO NOT EDIT ANY LINES BETWEEN HERE AND THE DATABASE SECTION --> Unless im missing what you are trying to get me to do completely, I believe vmware is blocking something...just have no clue how to get it to stop. |
Your ports on your router are forwarded to 192.168.2.5?
Or are they forwarded to 192.168.2.150? |
I forwarded them to 150
|
Well, that's a problem. Forward them to the linux VM. 192.168.2.5
-orkim |
Haha, it worked!!
=) Now I assume if I set up the NAT to forward just like I did on the router (when using the air card) it would work on that. But since im about to have real internet getting it to work over an ethernet connection is more important anyway. Thank you very much for all your help! Sikkun |
Congrats on getting past that first major hurdle. Good luck with your project.
|
Between my firestarter (linux), kersplersky (windows), and my routers firewall any other tips for keeping my server safe?
|
All times are GMT -4. The time now is 04:08 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.