1
General Discussion / Redirect outbound http/s to a local http
« on: March 11, 2023, 10:53:59 am »
Hi all,
I've got an amplifier (192.168.2.93) that can play internet radio, however there is no way to add new radio stations.
I've got my own radio station streaming service from "http://192.168.2.139:8010/radio.mp3"
I would like to know if it is possible for opnsense (192.168.2.1) to redirect requests initially meant for "http://buecrplb01.cienradios.com.ar/792_80_90_Internacional_32000.aac"** (one of the radios my amplifier can play) to my internal radio station... and if so, how ?
I tried the help of chatGPT but no luck. I obviously need a deeper understanding of how opnsense works, I've been reading the manual and looking for "clues", but I don't think I can do this without someone holding my hand somewhat.
** If you follow the link, you will see that it ask for a user/password (?). I've seen with wireshark that the amplifier seems to talk to an authentication service before reaching the radios.
Perhaps an intermediate step towards the solution is for opnsense to redirect some other traffic eg. "https://www.google.com" from my computer redirected to my radio station. That will help me to understand how the redirection can take place from a device (my computer) I have more control.
Thanks
I've got an amplifier (192.168.2.93) that can play internet radio, however there is no way to add new radio stations.
I've got my own radio station streaming service from "http://192.168.2.139:8010/radio.mp3"
I would like to know if it is possible for opnsense (192.168.2.1) to redirect requests initially meant for "http://buecrplb01.cienradios.com.ar/792_80_90_Internacional_32000.aac"** (one of the radios my amplifier can play) to my internal radio station... and if so, how ?
I tried the help of chatGPT but no luck. I obviously need a deeper understanding of how opnsense works, I've been reading the manual and looking for "clues", but I don't think I can do this without someone holding my hand somewhat.
** If you follow the link, you will see that it ask for a user/password (?). I've seen with wireshark that the amplifier seems to talk to an authentication service before reaching the radios.
Perhaps an intermediate step towards the solution is for opnsense to redirect some other traffic eg. "https://www.google.com" from my computer redirected to my radio station. That will help me to understand how the redirection can take place from a device (my computer) I have more control.
Thanks