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.


  • Posts

    • 🔥 Looking for a powerful, clean, and player-friendly Auction House system for your Lineage 2 server? This fully-featured module is ready to plug into your project and provide your players with a modern, centralized marketplace!   💼 What is it? A complete Auction House system designed for fixed-price item sales between players. Forget about private stores and spammed zones—this system offers a smooth, secure, and offline-friendly way to buy and sell items across your server.   Photo Library: https://imgur.com/a/zLlUQbW   ✅ Main Features: 🔹 Fixed-Price Listings Only: Players list items at a set price. No bidding, no delays—just fast, clean trades. 🔹 Multi-Currency Support: Works with Adena, event coins, custom currencies—fully configurable. 🔹 Dynamic Interface: Players can filter items by name, type, and price. Easy-to-use HTML layout with smooth pagination. 🔹 Sell While Offline: Post items and receive payments even if you're not online—true passive trading. 🔹 Safety First: Full validation: no equipped/augmented/restricted items unless allowed. Prevents scams, mispricing, and listing errors. 🔹 Expiration Timer (Optional): Set listing time limits. Expired items go to warehouse/mail automatically. 🔹 Spam & Duplication Protection: Prevents multiple listings of identical items and unnecessary database load. 🔹 Performance Optimized: Clean, indexed SQL structure. No lag or bloating even with thousands of listings.   ⚙️ Plug & Play Clean Java code (compatible with aCis & derivatives). Easy setup with full instructions and sample configurations. Includes SQL, HTML files, and all Java classes – fully working out of the box.   💰 Pricing & Contact 📦 50 euro - One-time purchase with full support for setup & basic customization. 💬 Contact me here via PM or on Discord: @Luminous 🔐 Serious buyers only – source is clean, secure, and tested on live servers.     Give your server the next-level economy it deserves. No more chaotic trade zones. No more confusion. Just clean, efficient, server-wide trading.
    • We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX! Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
    • 166 pisses on their heads any day of the week though
    • Thnx for share, i can't pm u for password  
    • I'm looking for the best current files that are up to date for the year 2025, not files that are stuck in 2020.
  • Topics

×
×
  • Create New...