Jump to content

Question

Posted

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.

7 answers to this question

Recommended Posts

  • 0
Posted

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
Posted

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
Posted

@ 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
Posted

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
Posted

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

Guest
This topic is now closed to further replies.


×
×
  • Create New...