|
|||||||
This is a discussion on "Easiest way to point alternate ports to the same port." in the Top Mud Sites MUD Administration forum : Since its opening, Threshold has run on port 23. This was generally most convenient for people as it is the primary telnet port. Also, it was the least likely port to be blocked by schools or work. Flash forward 14 years, and now there are workplaces that block port 23 occasionally. I'd like to give my players more options, so I was wondering if anyone had a suggestion for the best/easiest ways to have other ports forward to 23. Since I don't like to take Threshold down very often, the simplest, most reliable method would definitely be ... |
|
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our MUD community today! If you have any problems with the registration process or your account login, please contact us. If you are a registered member of the old TMS forums, please click here
|
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
Legend
Join Date: Apr 2002
Home MUD: Threshold RPG
Posts: 1,019
![]() |
Easiest way to point alternate ports to the same port.
Since its opening, Threshold has run on port 23. This was generally most convenient for people as it is the primary telnet port. Also, it was the least likely port to be blocked by schools or work.
Flash forward 14 years, and now there are workplaces that block port 23 occasionally. I'd like to give my players more options, so I was wondering if anyone had a suggestion for the best/easiest ways to have other ports forward to 23. Since I don't like to take Threshold down very often, the simplest, most reliable method would definitely be appreciated. |
|
|
|
|
|
#2 | |
|
Legend
Join Date: Aug 2007
Name: NewWorlds
Home MUD: New Worlds
Posts: 1,169
![]() ![]() |
Re: Easiest way to point alternate ports to the same port.
Quote:
After you got your backup (secondary) game running, then try this assuming the port your want to redirect is 5000 to port 5023: iptables -A INPUT -i eth0 -p tcp --dport 5000 -j ACCEPT iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 5000 -j REDIRECT --to-port 5023 Then try connecting via port 5000 and see if it redirects and connects to port 5023. If this works just change this to the following: iptables -A INPUT -i eth0 -p tcp --dport 5000 -j ACCEPT iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 5000 -j REDIRECT --to-port 23 And wallah! Anyone porting to 5000 (or any other port you choose) should redirect to your live game on 23. Remember you are dealing with iptables so be judicious and careful. These instructions assume you have full root access and administration rights of your server. Might even want to play around with these commands on a secondary homebase linux box with Redhat or similar system running to ensure proper operation. Good Luck! |
|
|
|
|