Page 1 of 1

Another login problem, kinda weird i might say.

Posted: Thu Aug 25, 2011 3:35 pm
by JMD
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision: 4763
L2JDP Revision: 8210

So i got this laptop and decided to use it as my test server enviroment. I installed ubuntu on it, i setted up the server and everything went perfect.

Server is running smoothly (was previously on my windows machine). I can pass the login screen but i get stuck on server selection.

I said its the firewall, i disabled it but the problem persist. It's bugging me cause it should have worked.

Any ideas?

Re: Another login problem, kinda weird i might say.

Posted: Thu Aug 25, 2011 3:42 pm
by goncafa
Have you open ports for server on your iptables?

Re: Another login problem, kinda weird i might say.

Posted: Thu Aug 25, 2011 3:49 pm
by JMD
Firewall is off, unless iptables have nothing to do with it.

Re: Another login problem, kinda weird i might say.

Posted: Thu Aug 25, 2011 4:02 pm
by goncafa
Even your firewall is of, you need open ports on iptables.

Re: Another login problem, kinda weird i might say.

Posted: Thu Aug 25, 2011 4:54 pm
by JMD
Any idea how to do it on the new ubuntu 11.04? Beacuase it doesnt accept the "dport" on my command, says different protocol, i googled but nothing.

Re: Another login problem, kinda weird i might say.

Posted: Thu Aug 25, 2011 4:57 pm
by blacksea
sudo apt-get install ufw
ufw help
should be ufw allow port

Re: Another login problem, kinda weird i might say.

Posted: Thu Aug 25, 2011 5:20 pm
by JMD
still nothing.

Re: Another login problem, kinda weird i might say.

Posted: Thu Aug 25, 2011 7:36 pm
by goncafa
Add following lines on iptables files.

/etc/sysconfig/iptables

Code: Select all

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 2106 -j ACCEPT-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 2106 -j ACCEPT-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 7777 -j ACCEPT-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 7777 -j ACCEPT 
then you restart ipdatables:

Code: Select all

service iptables restart

Re: Another login problem, kinda weird i might say.

Posted: Thu Aug 25, 2011 8:32 pm
by JMD
goncafa wrote:Add following lines on iptables files.

/etc/sysconfig/iptables

Code: Select all

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 2106 -j ACCEPT-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 2106 -j ACCEPT-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 7777 -j ACCEPT-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 7777 -j ACCEPT 
then you restart ipdatables:

Code: Select all

service iptables restart
Thanks that worked.