Hi,
Would it be possible to transparantly redirect an incoming (shoutcast) tcp request on public-ip:8000 to public-ip:80?
The shoutcast server runs on a public IP, so there is no NAT!
Thanks!
Roger
Hi,
Would it be possible to transparantly redirect an incoming (shoutcast) tcp request on public-ip:8000 to public-ip:80?
The shoutcast server runs on a public IP, so there is no NAT!
Thanks!
Roger
are you saying that you’re running shoutcast, and listeners are connecting to you on port 8000 instead of 80 ? If so, change your port in shoutcast dnas to 80 and it will annouce to shoutcast yp directly with port 80. Otherwise you can setup a dst-nat from 8000 to 80.
A little bit more info ![]()
The stream was first running on port 8000 (somewhere else) … we moved the stream to our server and our shoutcast is running on port 80 (and we don’t want it to run on port 8000). A lot of clients are still trying to connect to port 8000 and we would like to help them out by adding a redirect or proxy (?) to the new server running on port 80.
Try this:
/ip firewall nat add chain=dstnat protocol=tcp dst-port=8000
action=redirect to-ports=80
that will work, but action should not be =redirect, it should be dst-nat.
redirect means redirect to the loopback address - itself.
Sam
Great, that works!! ![]()
Thanks guys!