Integrated tinyproxy to allow private trackers to see us browsing from the same ip address
This commit is contained in:
@@ -16,6 +16,7 @@ RUN apt-get update \
|
|||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install -y transmission-cli transmission-common transmission-daemon \
|
&& apt-get install -y transmission-cli transmission-common transmission-daemon \
|
||||||
&& apt-get install -y openvpn curl rar unrar zip unzip wget \
|
&& apt-get install -y openvpn curl rar unrar zip unzip wget \
|
||||||
|
&& apt-get install -y tinyproxy telnet\
|
||||||
&& curl -sLO https://github.com/Yelp/dumb-init/releases/download/v1.0.1/dumb-init_1.0.1_amd64.deb \
|
&& curl -sLO https://github.com/Yelp/dumb-init/releases/download/v1.0.1/dumb-init_1.0.1_amd64.deb \
|
||||||
&& dpkg -i dumb-init_*.deb \
|
&& dpkg -i dumb-init_*.deb \
|
||||||
&& rm -rf dumb-init_*.deb \
|
&& rm -rf dumb-init_*.deb \
|
||||||
@@ -27,6 +28,7 @@ RUN apt-get update \
|
|||||||
|
|
||||||
ADD openvpn/ /etc/openvpn/
|
ADD openvpn/ /etc/openvpn/
|
||||||
ADD transmission/ /etc/transmission/
|
ADD transmission/ /etc/transmission/
|
||||||
|
ADD tinyproxy /opt/tinyproxy/
|
||||||
|
|
||||||
ENV OPENVPN_USERNAME=**None** \
|
ENV OPENVPN_USERNAME=**None** \
|
||||||
OPENVPN_PASSWORD=**None** \
|
OPENVPN_PASSWORD=**None** \
|
||||||
@@ -108,4 +110,5 @@ ENV OPENVPN_USERNAME=**None** \
|
|||||||
|
|
||||||
# Expose port and run
|
# Expose port and run
|
||||||
EXPOSE 9091
|
EXPOSE 9091
|
||||||
|
EXPOSE 8888
|
||||||
CMD ["dumb-init", "/etc/openvpn/start.sh"]
|
CMD ["dumb-init", "/etc/openvpn/start.sh"]
|
||||||
|
@@ -54,4 +54,7 @@ if [ -n "${LOCAL_NETWORK-}" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
/opt/tinyproxy/run.sh ANY
|
||||||
|
/etc/init.d/tinyproxy start
|
||||||
|
|
||||||
exec openvpn $TRANSMISSION_CONTROL_OPTS $OPENVPN_OPTS --config "$OPENVPN_CONFIG"
|
exec openvpn $TRANSMISSION_CONTROL_OPTS $OPENVPN_OPTS --config "$OPENVPN_CONFIG"
|
||||||
|
Reference in New Issue
Block a user