EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Port Triggering (https://www.eqemulator.org/forums/showthread.php?t=41877)

deladriendil 05-02-2018 12:56 PM

Port Triggering
 
anyone have any guidance on setting up port triggering for routers when hosting an EQEMU server?

my router (tp-link) can only port forward single ports. not looking to add 400 entries.

so far I have port 9000, 5999, and 7000 forwarded.

port triggering requires a trigger start 7001, trigger end 7400. External Port Start: ??? 7001 doesn't seen to allow connections here
External End Port: ??? 7400 doesn't seen to work here.

GRUMPY 05-02-2018 01:21 PM

Not sure if this will help, or if you saw this page ? Also, doesn't 5998 have to be in there as well ?
http://int-help.com/en/port-triggeri...p-link-router/

Thalix 05-02-2018 01:26 PM

AFAIK the client start the first connect to the zones and not the zones to the client. So you need Port Forwarding, not Port Triggering. You need one forward for each zone. If you have 30 dynamic zones then you need Forwarding for 7000-7030.

deladriendil 05-02-2018 01:27 PM

i thought 5998 was only for titanium clients. was using ROF2.

i think my hang up is not knowing what port the client is using to try and connect to 7000-7400 range.
do I also need a trigger range for 1024-65535?

Trigger Start: 7001
Trigger End: 7500
External Start Port: 7001
External Start End: 7500
Protocol: BOTH

If i connect locally i don't have an issue. so the server itself isn't blocking via firewall.

deladriendil 05-02-2018 01:31 PM

I'll try this. thanks

Quote:

Originally Posted by Thalix (Post 258481)
AFAIK the client start the first connect to the zones and not the zones to the client. So you need Port Forwarding, not Port Triggering. You need one forward for each zone. If you have 30 dynamic zones then you need Forwarding for 7000-7030.


GRUMPY 05-02-2018 01:41 PM

Quote:

Originally Posted by deladriendil (Post 258482)
i thought 5998 was only for titanium clients. was using ROF2.

I just assumed your server was going to be connecting to the public EQEmu login server ?
In your config: (this has nothing to do with clients)
<host>login.eqemulator.net</host>
<port>5998</port>

deladriendil 05-02-2018 01:52 PM

i have two entries in my config.
one for the local IP
and another that is a dns address that maps to my public ip (like dyndns).
outside of my network they are using dyndns 5999, internally is using the local IP.

GRUMPY 05-02-2018 02:00 PM

So you're setting up for a dual login, one being a private login,
(to allow outside connections) ?

deladriendil 05-02-2018 02:02 PM

that's right. and they (public connections) can get to login and create an account. they cannot get to character creation or beyond.

GRUMPY 05-02-2018 02:10 PM

Ok, so whatever port your private loginserver is listening on, (usually 5998 )
That listening port has nothing to do with client versions. See below login.ini

Code:

listen_port = 5998 (this port needs to be listening to all connections)
local_network = 127.0.0. (whatever IP)
auto_create_accounts = TRUE

[security]
plugin = EQEmuAuthCrypto
mode = 5

[Titanium]
port = 5998
opcodes = login_opcodes.conf

[SoD]
port = 5999
opcodes = login_opcodes_sod.conf


deladriendil 05-02-2018 02:12 PM

got it. will add that back into the router as a forwarded port.

GRUMPY 05-02-2018 02:17 PM

Just as an added note : In the login.ini - whatever IP you are using, leave out that
last octet number, keeping the period though. Or you may have client connect probs.
Example:
local_network = 192.168.10.

deladriendil 05-02-2018 03:12 PM

yeah i ran into that before. thanks. i can only forward a total of 30 ports on this router. so hopefully 22 entries is enough as I'm using 8 for other things. may be time to get a new router...

GRUMPY 05-02-2018 03:32 PM

It's been a long time since I run into a router without port range forwarding, but I can't imagine
what it would be like with a project like this. I'd probably just to hell with it and DMZ, haha
Hackers are all busy with politicians anyway :P

deladriendil 05-04-2018 11:58 PM

got past this issue. by replacing the router.

i am now having an issue with zone.exe running the start script it defaults to 127.0.0.1: <random port>

this causes me issues. players outside of my LAN cannot connect to port 7000. yet if i map that port to forward to say 3389. they can of course connect to it.

so it's not a forwarding issue. I expect its a problem that zone.exe isn't starting up with 0.0.0.0 or my actual IP address. is there a config way that I can change this? or am I looking at

when I messed around with a private server a year or so ago this wasn't an issue. sadly that build is gone and I'm on the most recent stable release. did something change?


All times are GMT -4. The time now is 07:31 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.