REDIRECT problems

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
bagun
Posts: 55
Joined: Sun Oct 03, 2010 12:09 pm

REDIRECT problems

Post by bagun »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:latest
L2JDP Revision Number:latest


Hi mans.

I have a freya server full updated runing in my LAN network ok.All its ok,players can join the server and play as ussual.But problems came when i try to connect out of the LAN.I can`t access the server selection and game shows "You are currently loggin in" all time.

My network admin redirect me the ports 2016 and 7777 from the public network to the local address in the firewall.The firewall is using centos+shorewall.

In my ipconfig i have this lines

<?xml version="1.0" encoding="UTF-8"?>
<!-- Put old contents of ExternalHostname here, used by default -->
<gameserver address="213.63.135.96">
<!-- Localhost access -->
<define subnet="127.0.0.0/8" address="127.0.0.1" />
<!-- LAN's, put old contents of InternalHostname here -->
<define subnet="10.0.0.0/16" address="10.0.9.121" />
</gameserver>


And now the question.I cant test it now,but ¿i should put in the ExternalHostname the local ip(10.0.9.121)?I think that i cant but it may works.

¿I should open any other port to access the server from the network?.I dont think so because i read that i only need 2016 an 7777,because 9014 is for loginserver-gameserver communication and there are in the same machine.

So if you con help me with this....

Thanks in advice

(sorry for my bad english) :lol:



PD:¿Anyone knows a "DNS"(yes im not a fucking noob DNS only assigns names and IPs,i mean something like that) that can make this redirection to this 213.63.135.96:1123?.I think to make a web with a link to the direccion ,because in that port there my web server is listening(yes,is more easy to put in port 80,but i cant),but i need something like "www.mywebserver.com".DynDNS dont allow that kind of redirection,if you know some service tell me.Another time,thanks in advice :D
Server Developer/Admin of L2Jservers
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: REDIRECT problems

Post by _DS_ »

Your configuration looks good. Only 2106, not 2016.

Disable web on your modem and you will be able to forward 80 port :)
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
bagun
Posts: 55
Joined: Sun Oct 03, 2010 12:09 pm

Re: REDIRECT problems

Post by bagun »

Redirecting now port 2106,but still not working. :x This will made me crazy :lol:


I`m now redirecting port 80 to another local machine because i have other webser running on it.The only way to access my server web is through the port i have redirected to my port 80 on local machine.I need a domain that allows ports in the directions.If someone have some info,or other metod to had more than 1 server listening in port 80,please tell me :D
Server Developer/Admin of L2Jservers
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: REDIRECT problems

Post by hope »

Check host file
bagun
Posts: 55
Joined: Sun Oct 03, 2010 12:09 pm

Re: REDIRECT problems

Post by bagun »

My host file is ok.I dont know what its happening,but thx anywere 8)
Server Developer/Admin of L2Jservers
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: REDIRECT problems

Post by _DS_ »

bagun wrote:game shows "You are currently loggin in" all time.
Login server cant be accessed. You can ignore all ipconfig-related stuff, it does not mater.
Possibly -invalid bind address of login, invalid hosts contents (with external address).
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
bagun
Posts: 55
Joined: Sun Oct 03, 2010 12:09 pm

Re: REDIRECT problems

Post by bagun »

Yes i know that _DS_,but that so strange because i can connect prefectly in the LAN network.Now i cant access the shorewall rules,on tuesday i will meet my network admin one more time and will check the rules,but this is so strange i make a lot l2j servers and its the first time that this happens.Probably shorewall is making something wrong.

Seriously,so strange because SSH,VNC connect perfectly to the server machine.If you know some issues about shorewall+l2j tell me :D


PD:Anyone knows about the "DNS"? :D

(Si alguien me lo manda por privado en español perfecto,que mi ingles aunque lo entiendo casi todo me cuesta muchisimo escribir estos mensajes,esto va por BiggBoss,DrHouse,MELERIX y toda la gente hispanohablante :D )
Server Developer/Admin of L2Jservers
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: REDIRECT problems

Post by _DS_ »

Read about apache's "virtual hosts" feature.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
bagun
Posts: 55
Joined: Sun Oct 03, 2010 12:09 pm

Re: REDIRECT problems

Post by bagun »

I read about that,and i know how to work with that,but i dont know if its posible to point the DocumentRoot to an ip.If you tried that,tell me the results :D
Server Developer/Admin of L2Jservers
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: REDIRECT problems

Post by _DS_ »

Use redirect.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
bagun
Posts: 55
Joined: Sun Oct 03, 2010 12:09 pm

Re: REDIRECT problems

Post by bagun »

Yes but where i must use redirect?.I think that creating a new folder with a link to the ip(if that must be possible,i didnt tried)must be enoough,but i dont know...
Server Developer/Admin of L2Jservers
bagun
Posts: 55
Joined: Sun Oct 03, 2010 12:09 pm

Re: REDIRECT problems

Post by bagun »

Ok tomorrow i will chek all the shorewall rules and i would tell you the results.And obviusly,i will update my server to the latest version :D
Server Developer/Admin of L2Jservers
bagun
Posts: 55
Joined: Sun Oct 03, 2010 12:09 pm

Re: REDIRECT problems

Post by bagun »

I will kill my net admin,it was redirecting bad the IPs.issue solved,thx all :wink:
Server Developer/Admin of L2Jservers
User avatar
JavierDC
Posts: 132
Joined: Sun Feb 03, 2008 10:16 pm
Contact:

Re: REDIRECT problems

Post by JavierDC »

escribe en español tu problema, y veo cual puede ser la solucion
perdon por mi ingles, traducido desde goggle
bagun
Posts: 55
Joined: Sun Oct 03, 2010 12:09 pm

Re: REDIRECT problems

Post by bagun »

JavierDC wrote:escribe en español tu problema, y veo cual puede ser la solucion

Ya estan solucionados los 2,habia mal una regla en el iptables.



You can close the thread.
Server Developer/Admin of L2Jservers
Post Reply