I modified the app-startup.sh file to run privoxy, but no matter what configuration I do, I can never get from the host to the container once the VPN is up.
My use case is to convert this image into a proxy and then expose that proxy to a crawler that I use to obtain specific information.
Basically I'm looking for something like this:
scrapper ---> privoxy ---> windscripe ---> target_url
What do you recommend I do to achieve this use case?
provoxy.config
confdir /etc/privoxy
listen-address 0.0.0.0:8118
debug 1 # show each GET/POST/CONNECT request
debug 4096 # Startup banner and warnings
app-startup.sh
#!/bin/sh
privoxy --no-daemon /etc/privoxy/config
trap : TERM INT; sleep infinity & wait
When testing inside the container I can run that correctly
curl -x localhost:8118 https://api.surfshark.com/v1/server/user
But when I do it from the host, there is never any response.
It seems to me like a routing issue, where the container is running on my host, but its ip address (or the one it listens to) is not the same as my host's.
Thks
I modified the
app-startup.shfile to run privoxy, but no matter what configuration I do, I can never get from the host to the container once the VPN is up.My use case is to convert this image into a proxy and then expose that proxy to a crawler that I use to obtain specific information.
Basically I'm looking for something like this:
scrapper ---> privoxy ---> windscripe ---> target_url
What do you recommend I do to achieve this use case?
provoxy.config
app-startup.sh
When testing inside the container I can run that correctly
curl -x localhost:8118 https://api.surfshark.com/v1/server/userBut when I do it from the host, there is never any response.
It seems to me like a routing issue, where the container is running on my host, but its ip address (or the one it listens to) is not the same as my host's.
Thks