port forwarding, kinda

I've got a dedicated server running fedora with plesk.  I am running a teamspeak server which consists of a number of virtual servers per se that all respond on different ports.  Right now there are servers running on ports 65520-65530.  This works just ducky because it allows me to pass along the server address as goclans.com:65530 or something which seams simple enough to me.  But people seem to have an adversion to numbers.  So I am wondering if it is posible to use a subdomain and drop the port.  So say a sub domain of oldman.goclans.com would point the teamspeak client to 65530.  The teamspeak client will automatically use its default port of 3535 or something around there if no port is given.  So I would need to forward between goclans.com:65530 and oldman.goclans.com:3535.  Is this even posible?
LVL 3
purfusAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NopiusCommented:
"forward between goclans.com:65530 and oldman.goclans.com:3535.  Is this even posible?"
Yes, BUT only if you have separate IP for each such 'oldman.goclans.com'. Otherwise it's impossible.
0
Gabriel OrozcoSolution ArchitectCommented:
it's kind of easy if you can edit the apache config file.

what you need is "reverse proxy" feature, where your port 80 will ask the other servers (no matter if they are running at 127.0.0.1:65520 or at cnn.com) and offer them based on the site name.
I wrote a quick howto on the matter but it is in spanish. if you can read that then go to http://redimido.glo.org.mx, but if you need it in english look at:

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3009
http://www.apacheweek.com/features/reverseproxies
(read this at the end of the others since it's incomplete and only looks at one part):
http://www.linux.org/docs/ldp/howto/MMBase-Inst-HOWTO/x968.html

happy linuxing
0
NopiusCommented:
is a teamspeak server runs under apache control?
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

NopiusCommented:
or at least on http protocol :)
0
purfusAuthor Commented:
I'm not sure what protocol it uses.  Here's a packet sniff from my client side donno if it helps or not.  And thank you redimido.  I'm not sure I understand quite what your telling me but I will go through those resources and figure it out.  Until than I will leave the question open though.

Ethernet II (Packet Length: 72)
      Destination:       00-13-46-84-cb-c3
      Source:       00-90-f5-48-ac-63
Type: IP (0x0800)
Internet Protocol
      Version: 4
      Header Length: 20 bytes
      Flags:
            .0.. = Don't fragment: Not set
            ..0. = More fragments: Not set
      Fragment offset:0
      Time to live: 128
      Protocol: 0x11 (UDP - User Datagram Protocol)
      Header checksum: 0x0 (Incorrect - Checksum should be 0xd82c)
      Source: 192.168.0.157
      Destination: 216.55.162.72
User Datagram Protocol
      Source port: 2864
      Destination port: 65530
      Length: 8
      Checksum: 0xd09 (Correct)
Data (24 Bytes)
0
purfusAuthor Commented:
Oh and yes I only have one ip address and def cant afford to buy one for each of the virtual ts servers.
0
NopiusCommented:
From that point my answer is: "no".
You cant use different names or some other tricks to allow users connect without specifying port number
Even redimido's comments will not help.

The reason is many-to-one resolution of any name-to-ip DNS  request. There is no other means to transfer host name via opaque UDP protocol (at least it could be possible via HTTP 1.1).
So any name will point to the same IP. Without port number it will be default port number and there are no means to distinguish one DNS name from another.
0
Gabriel OrozcoSolution ArchitectCommented:
I did not check that teamspeak is a VoIP application. (checked at http://www.goteamspeak.com/)

So I misunderstood such app would be something running under apache/httpd

My fault. Sorry.

It's mind of impossible unless you create some tipe of reverse proxy for udp. I really have not read anything for such kind of proxy

so I went to freshmeat and searched for udp proxy and here are some results (you need to figure out if one or more of these can work for you):
http://freshmeat.net/search/?q=udp+proxy§ion=projects&Go.x=0&Go.y=0

good luck
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
purfusAuthor Commented:
hmm, ok.  Well that all makes sense.  It does seem odd to me that the protocol doesn't support it.  I mean I would think the server should be able to recieve a request for information at a certain address and interpret it in any way.  But the reasons it doesn't work do make sense.  Perhaps it will be directly supported in the future.  Thanks for all the help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.