View unanswered posts | View active topics It is currently Sat Apr 25, 2026 8:56 pm



Reply to topic  [ 7 posts ] 
 Wrong Port 
Author Message
Commander

Joined: Sun Feb 25, 2001 3:00 am
Posts: 1838
Location: Guam USA
Unread post Wrong Port
How can I setup something to message back someone trying to enter my server on
port 23 when my server is actually on port 2002 ?

I get messages like Connection lost from: 76.211.140.208
in my swath (listening to port 23 for twx)

I'de like to send message back saying try port 2002.

Please help , so I can help these players looking to join my server.

Vid Kid

_________________
TWGS V2 Vids World on Guam Port 2002
Telnet://vkworld.ddns.net:2002
Discord @ DiverDave#8374
Vid's World Discord

Founding Member -=[Team Kraaken]=- Ka Pla

Image
Winners of Gridwars 2010
MBN Fall Tournament 2011 winners Team Kraaken
Undisputed Champions of 2019 HHT Just for showing up!

The Oldist , Longist Running , Orginal Registered Owner of a TWGS server :
Vids World On Guam


Mon Jul 28, 2008 2:11 am
Profile WWW
Gameop
User avatar

Joined: Tue Sep 25, 2007 7:27 pm
Posts: 530
Location: Long Island
Unread post Re: Wrong Port
I do not know if you have a router involved at all... but if nothing else is running on the server machine I think this would work.

1) Launch instance of TWX with accept external connections running and listening on port 23.
2) Write a piece of code that every 5 seconds or so echo's "To connect to the TWGS server, you must connect on port 2002"

Its quick and dirty, but should work...

_________________
If you have a building game, they will come...

Proud Sysop of ICE9 TWGS
Home of Building and Non Regulated Games
http://www.oregonsouth.com/ice9
telnet://ice9-tw.com:2002


Mon Jul 28, 2008 6:26 am
Profile
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: Wrong Port
Hrm. Never thought about using TWX like that. Nifty. Wonder if it'd be more memory efficient than a small telnet daemon.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Mon Jul 28, 2008 8:27 am
Profile ICQ WWW
Gameop
User avatar

Joined: Tue Sep 25, 2007 7:27 pm
Posts: 530
Location: Long Island
Unread post Re: Wrong Port
I have a long history of either delighting or annoying my bosses by thinking of alternative uses for applications.

_________________
If you have a building game, they will come...

Proud Sysop of ICE9 TWGS
Home of Building and Non Regulated Games
http://www.oregonsouth.com/ice9
telnet://ice9-tw.com:2002


Mon Jul 28, 2008 9:33 am
Profile
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: Wrong Port
Not sure about the rest of your post but I am 100% positive the "annoying" part is right :mrgreen:

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Mon Jul 28, 2008 10:06 am
Profile ICQ YIM WWW
Boo! inc.
User avatar

Joined: Fri Jul 27, 2007 4:42 pm
Posts: 376
Location: California
Unread post Re: Wrong Port
BURN!


Tue Jul 29, 2008 1:49 am
Profile ICQ YIM
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post Re: Wrong Port
A lot of firewalls / routers have the ability to forward packets that are received on one external port (like 23) to a different internal port (like 2002). Assuming you really don't care if they hit port 23 or port 2002, then you could set things up so that both are forwarded internally to your TWGS on port 2002.

Most D-Link routers support this feature, calling it "Port Translation". Or better yet, any router capable of being flashed with the DD-WRT firmware (check out NewEgg reviews).

Feel free to hit me up if you need help with this.

+EP+

_________________
Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.


Tue Jul 29, 2008 4:46 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 54 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.