Redirect stream url

Read 8867 times
Hello,
I have just acquired a second vps server and I would like to transfer some radios to my new vps server. So I would like to know how to do a redirect like :
http://server1.hostname.com:5260/stream to http://server2.hostname.com: 8010/stream.

Thanks in advance
Hello,
I have just acquired a second vps server and I would like to transfer some radios to my new vps server. So I would like to know how to do a redirect like :
http://server1.hostname.com:5260/stream to http://server2.hostname.com: 8010/stream.

Thanks in advance

Maybe IPTables is what you looking for.
Example: https://my.esecuredata.com/index.php?/knowledgebase/article/49/how-to-redirect-an-incoming-connection-to-a-different-ip-address-on-a-specific-port-using-iptables/