spotify-adblock icon indicating copy to clipboard operation
spotify-adblock copied to clipboard

Use as proxy for all applications on VPN

Open pickaxe828 opened this issue 3 years ago • 2 comments

I want to host this on my VPS with my self-hosted outline VPN, so I hope I can also block the ads when connected to the VPN. But is that possible? Will if affect the other applications for example, Google? Also, do I need a reverse proxy/ gateway for port forwarding?

P.S.: After testing and lurking through the source code, I found that it blocks all the requests out of the whitelist image

pickaxe828 avatar Feb 22 '22 11:02 pickaxe828

Yes, the current proxy will block anything not in the whitelist, so you cannot pipe all your VPN traffic through the proxy. A solution could be to modify this repo to start a SOCKS5 proxy, host that on your VPS, and configure Spotify to use the proxy on the VPS. It would still be encrypted like a VPN.

AnanthVivekanand avatar Feb 22 '22 15:02 AnanthVivekanand

@AnanthVivekanand oh sorry, I forgot to mention that I want to do this on iPad Spotify, and the proxy in the app is not configurable. I tried to configure my iPad WiFi connection proxy to my VPS and it also blocks the audio as well. I think I'll try to fork and modify this to make it work on both iPad and Desktops.

pickaxe828 avatar Feb 23 '22 09:02 pickaxe828