AnanthVivekanand/spotify-adblock

Use as proxy for all applications on VPN

Opened this issue · 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

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 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.