kostantinosftw Posted November 21, 2013 Posted November 21, 2013 Hello, I'm using linux server. Server machine infos: internet ip : example.no-ip.net Lan ip: 192.168.1.3 login port: 2100 gamserver port: 7777 --------------------------------------------------- How to config my files in order to work properly? Loginserver.properties: ExternalHostname = examples.no-ip.org InternalHostname = 192.168.1.3 LoginserverHostname = 192.168.1.3 LoginserverPort = 2100 LoginHostname = 127.0.0.1 LoginPort = 1821 Gameserver.properties: GameserverHostname = 192.168.1.3 GameserverPort = 7777 ExternalHostname = example.no-ip.org InternalHostname = 192.168.1.3 LoginPort = 1821 LoginHost = 127.0.0.1 Also how i can open 2100 and 7777 ports on linux server? Thank you in advance.
0 Akken Posted November 21, 2013 Posted November 21, 2013 Hello, I'm using linux server. Server machine infos: internet ip : example.no-ip.net Lan ip: 192.168.1.3 login port: 2100 gamserver port: 7777 --------------------------------------------------- How to config my files in order to work properly? Loginserver.properties: ExternalHostname = examples.no-ip.org InternalHostname = 192.168.1.3 LoginserverHostname = 192.168.1.3 LoginserverPort = 2100 LoginHostname = 127.0.0.1 LoginPort = 1821 Gameserver.properties: GameserverHostname = 192.168.1.3 GameserverPort = 7777 ExternalHostname = example.no-ip.org InternalHostname = 192.168.1.3 LoginPort = 1821 LoginHost = 127.0.0.1 Also how i can open 2100 and 7777 ports on linux server? Thank you in advance. you own linux? or its host machine? loops got priviliges? 0777 from filezilla or other program?
0 FirefoxAurora Posted November 21, 2013 Posted November 21, 2013 @ Lnx OS ports are open by default :P
0 kostantinosftw Posted November 21, 2013 Author Posted November 21, 2013 you own linux? or its host machine? - own, what has to do with my problem? -.- loops got priviliges? - yes ofc @ Lnx OS ports are open by default - then try to help me to correct loginserver and gameserver (spammer)
0 MWZ Posted November 21, 2013 Posted November 21, 2013 @ Lnx OS ports are open by default :P Not in all of them, in CentOS for example, iptables come pre-configured together with SELinux enabled. So the applications doesn't allow input connections by default, due to these constraints.
0 FirefoxAurora Posted November 21, 2013 Posted November 21, 2013 you own linux? or its host machine? - own, what has to do with my problem? -.- loops got priviliges? - yes ofc @ Lnx OS ports are open by default - then try to help me to correct loginserver and gameserver (spammer) ok have a nice day. Not in all of them, in CentOS for example, iptables come pre-configured together with SELinux enabled. So the applications doesn't allow input connections by default, due to these constraints. [GR] astona more na liwsei to putty kai na to ma8ei. mas leei kai spammer
0 kostantinosftw Posted November 21, 2013 Author Posted November 21, 2013 ok buttheart boi, have a nice day spammer x2. I would appreciate to give me more specific awnsers. Thank you.
0 kostantinosftw Posted November 21, 2013 Author Posted November 21, 2013 Problem solved. Had to use command: $ less /etc/services and manualy add the ports. Also sudo iptables -I INPUT -p tcp --dport 7777 --syn -j ACCEPT sudo iptables -I INPUT -p udp --dport 7777 -j ACCEPT sudo iptables -I INPUT -p tcp --dport 2100 --syn -j ACCEPT sudo iptables -I INPUT -p udp --dport 2100 -j ACCEPT After, i had to test it with telnet localhost 7777 telnet 192.168.1.3 7777 telnet example.no-ip.org 7777 to check if everything works. Thank you FirefoxAurora (da spammer) -request lock
Question
kostantinosftw
Hello, I'm using linux server.
Server machine infos:
internet ip : example.no-ip.net
Lan ip: 192.168.1.3
login port: 2100
gamserver port: 7777
---------------------------------------------------
How to config my files in order to work properly?
Loginserver.properties:
Gameserver.properties:
Also how i can open 2100 and 7777 ports on linux server?
Thank you in advance.
7 answers to this question
Recommended Posts