Jump to content
  • 0

how to allow external connections?


Question

Posted

Hi forum, I have the following question: to allow connection from outside the lan, where should i enter the external IP address? that is, in l2db.sql during installation and then in which .ini file because i'm not able to get them to connect from outside the lan. Do the ports need to be properly opened?

 

thank you in advance !

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

I do that, but I still can't. The ports are open. Which ports do I need to open? And specifically in which .ini file should I add the external IP because I can't find a line where I should put it.

Edited by Metadonna
  • 0
Posted
49 minutes ago, GX-Ext said:


Si fuiste tú quien me habló por Facebook, mañana si quieres podemos hacerlo por TeamViewer.

Saludos.

ok thx

Quote

[Setting]
;Default mail.ncsoft.co.kr
MailServer="205.164.244.213"
;Default true
UserPathFind=true
;Default true
WorldCollision=false
;Default 7777
UserPort=7777
;Default 0, Korea=0, USA=1, Japan=2, Taiwan=3, China=4, Thailand=5
Country=1
;Default 0
Snoop=0
;Default 600
autologoutsec=800
;Default false
GotDamageLog=false
;Default false
BOTMessage=false
;Default false
BOTLog=false
;Default 120000
BOTCheckTime=120000
;Default 110000
BOTCheckWaitTimeLimit=110000
;Default false
AcceptEscapeCommand=true
;Default false
AcceptLowerProtocol=false
;Default 0
playtimelimit=0
;Default 0
reconnectAuth=1
;Default 0
AgeCheckType=0
;Default false
taitime=false
;Default 1
EscapeMode=1
;Default 1
canrolldice=1
;Default false
gameguard=false
;Default false
gameguard_checkonly=false
;Default false
MultiLang=false
;Default false
isnonpk=false
;Default false
cannotmonrace=false
;Default true
LogMsn=false
;Default 40000
IOBufferCount=40000
ExceptionMinidump=false
;Npc Server Port, default 2002
NpcServerPort=2002

[CacheD]
;Default localhost
address="127.0.0.1"
;Default 12006
port=2006

[AuthD]
;Default localhost
address="127.0.0.1"
;Default 2104
port=2104
;Default false
UseAuthTimeManageSystem=false
;Default false
ChinaFatigueSystem=false
;Default 3
ChinaHalfFatigueTime=3
;Default 5
ChinaFullFatigueTime=5

[LogD]
;Default 127.0.0.1
address="127.0.0.1"
;Default 3999
port=3999

[PetitionD]
;Default 127.0.0.1
address="127.0.0.1"
;Default 2107
port=2107
;Default 0
DisableStart=0
;Default 0
DisableEnd=0
;Default L2server
worldName=Odisea

[World]
;Default 1
WorldId=1
;Default 3000
UserLimit=900
;Default 1
LetBuilder=0

[BBS]
;Default 10
WriteLevel=10

[L2COMM]
;Defult 127.0.0.1
address="127.0.0.1"
;Default 2010
port=2010
;Default 1
autoconnect=1
;Default 1
usesvr=1

[event]
;Default 100
adenaamount=100
;solo chances itemrate
itemrate=100
;spoilrate=120
spoilrate=100
exprate=99999
partyexprate=100
;Default 0
dontdropitem=0
;Default 0
dontdecexp=0
;Default 100
aiexprate=100
;Default 0
aiadenarate=0


;Default 0
l2day=0
l2day_year0=0
l2day_month0=0
l2day_day0=0
l2day_hour0=0
l2day_min0=0
l2day_year1=0
l2day_month1=0
l2day_day1=0
l2day_hour1=0
l2day_min1=0
;Default 0
itemdropevent=0
drop_year0=0
drop_month0=0
drop_day0=0
drop_hour0=0
drop_min0=0
drop_year1=0
drop_month1=0
drop_day1=0
drop_hour1=0
drop_min1=0
;Default 0
bakevent=0
bak_year0=0
bak_month0=0
bak_day0=0
bak_hour0=0
bak_min0=0
bak_year1=0
bak_month1=0
bak_day1=0
bak_hour1=0
bak_min1=0
baknpcbegin_year=0
baknpcbegin_month=0
baknpcbegin_day=0
baknpcbegin_hour=0
baknpcbegin_min=0
baknpcend_year=0
baknpcend_month=0
baknpcend_day=0
baknpcend_hour=0
baknpcend_min=0
;Defult 0
year1=0
Year1_year0=0
Year1_month0=0
Year1_day0=0
Year1_hour0=0
Year1_min0=0
Year1_year1=0
Year1_monh1=0
Year1_day1=0
Year1_hour1=0
Year1_min1=0
Year1gift_year0=0
Year1gift_month0=0
Year1gift_day0=0
Year1gift_hour0=0
Year1gift_min0=0
Year1gift_year1=0
Year1gift_monh1=0
Year1gift_day1=0
Year1gift_hour1=0
Year1gift_min1=0
;Default 0
HeartEvent=0
hart_year0=0
hart_month0=0
hart_day0=0
hart_hour0=0
hart_min0=0
hart_year1=0
hart_monh1=0
hart_day1=0
hart_hour1=0
hart_min1=0
;Default 0
Olympic=0
;Default false
xmasevent=false
;Default 2004/12/20 10:0:0
xmaseventbegin=2004/12/20 10:0:0
;Default 2004/12/29 10:0:0
xmaseventend=2004/12/29 10:0:0
;Default ""
name=

[FONTCHECK]
;Default 0
fontcheck=0
;Default smallfont.gly
filename=smallfont.gly

[BOT]
;Default 0
block=0
;Default 3
TestCount=3

[NPCPOS]
;Default off
extra_mob=on
;Default 0ff
medal=on
;Default off
event_gate=off
;Default off
fire_event=off

 

 

👆l2server.ini

Quote

[MSSQL]
Server = DESKTOP-6VGP7OU
User = sa
Password = xxxxxxxx
database=l2c4_lin2db
SlowQuery = 300

[Tables]
server = server

[Main]
ServerPort = 2104
ServerExPort = 2106
BlowfishKey = 6B60CB5B82CE90B1CC2B6C556C6C6C6C
Title =


[Firewall]
Enable=0
Ports=7700-7799

[Custom]
AutoAccount = 0


[L2J]
IP =
Protocol = $103
FixedPorts = 1

[Log]
Auth = 1
Guard = 1
All = 0
DB = 0

[Online]
Multiplier = 1,0
UserCount = 5
Interval = 30

[Admin]
Password = 123
IP = 127.0.0.1

[Adv]
EULA = 1
Test = 0
TestServers =
C4 = 0
MaxConnectionsPerIP = 10
AntiDOS = 1
AntiBrute = 0
AntiBruteIP = 0
MD5Simple = 0
SHA1 = 0
Proxy =
AutoReloadFiles = 0
AutoReloadServers = 0
GameProxyMasterStatus = 1

[Ext]
Mask = 0
MD5Password = 0
ExecLogin = 0
Guard = 0

[AntiBrute]
Interval = 90
Penalty = 180
MaxAttempts = 10

[AntiBruteIP]
Interval = 90
Penalty = 300
MaxAttempts = 10
 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • ⚡ Fast order delivery is active 24/7! Upgrade your personal Gmail to Gemini Pro with full 2TB storage and premium Google One features today.
    • Update M54: Global HP/MP/CP consumable handling expanded beyond combat-only usage. Offensive mage idle recovery with learned skill Battle Heal. Spellhowler/Storm Screamer prioritizes Hurricane, using Vampiric Claw mostly below 90% HP. Major structural refactor initialized: Added category/class organization such as Archer, Dagger, Tank, Mage, Healer, Support and Specialized class files. Further structural cleanup. Extracted combat memory/state and more class-policy logic from the main controller. Added global stuck/inactivity watchdog for bots blocked by terrain/geodata. Added unreachable dropped ground-item timeout/temporary blacklist. Reworked Necromancer/Soultaker PvP: Dominator level 78+ maintains learned Arcane Power toggle on. Overlord/Dominator level 44+ maintains learned Soul Guard toggle automatically. Stability/scalability update: Bot controller ticks staggered instead of all starting in the same phase: Same 350 ms update rate retained Reduces simultaneous AI workload bursts. Removed the old manual aggressive-monster EVT_AGGRESSION bridge. Phantoms now use native Lucera setActive() behavior so monsters aggro them naturally. Reduced unnecessary NPC scans and native AI event pressure. Added saved-bot equipment overrides using a separate database table:         lucera_autobots_items Existing lucera_autobots remains the main saved-bot identity/state table. Equipment rows are linked to saved bots through bot_id. Added optional convenience view to show bot name together with equipment overrides:         lucera_autobots_items_view Added editable equipment slots in columns: Weapon Shield Helmet Chest Legs Gloves Boots Necklace Left/Right Earrings Left/Right Rings Equipment override values: 0 = use normal class/level profile item -1 = force slot empty >0 = equip that Item ID Custom equipment works only for saved database bots. Default class/level equipment profiles remain unchanged. Supports custom equipment from No Grade to S Grade, regardless of the bot's current level. Added validation for invalid item IDs and incompatible equipment slots. Added handling for: Two-handed weapons vs shields Full-body armor vs separate leggings Added all-grade Soulshots and Spiritshots to bot inventory/replenishment so custom lower-grade weapons still use the correct shots. Mage profiles that already use Blessed Spiritshots keep that behavior with all relevant grades available. First save the bot normally so it exists in table:         lucera_autobots Then open:         lucera_autobots_items Find the row with the same bot_id and edit only the equipment slots you want. Example: weapon_id = 6608 shield_id = -1 helmet_id = 0 chest_id = 0 legs_id = 0 gloves_id = 0 boots_id = 0 This means: weapon_id 6608 → custom weapon shield_id -1 → no shield all 0 values → keep normal default profile equipment After editing the DB, despawn and respawn the saved bot so M54 reloads its equipment overrides. Do not edit bot_id. Use it only to identify which saved bot the equipment row belongs to.   DOWNLOAD
    • It will be multi client so it will detect the client from the files and adapt the packets and asset loading. I am aiming for C4 and H5 after IL
    • this is just to simplify your life, time, and can be done for free by yourself just watch some tutorials, in case you don't wanna waste time check it out!   https://l2getwork.art   https://l2getwork.art/showcase.html  
    • Good job! Any chance for it to be downgradeable or at least compatible with older chronicles?
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..