浏览代码

Integrated tinyproxy to allow private trackers to see us browsing from the same ip address

master
Jeremy Andrews 7 年前
父节点
当前提交
bf1a7c8195
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 3
    0
      Dockerfile
  2. 3
    0
      openvpn/start.sh

+ 3
- 0
Dockerfile 查看文件

@@ -16,6 +16,7 @@ RUN apt-get update \
&& apt-get update \
&& 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 tinyproxy telnet\
&& 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 \
&& rm -rf dumb-init_*.deb \
@@ -27,6 +28,7 @@ RUN apt-get update \

ADD openvpn/ /etc/openvpn/
ADD transmission/ /etc/transmission/
ADD tinyproxy /opt/tinyproxy/

ENV OPENVPN_USERNAME=**None** \
OPENVPN_PASSWORD=**None** \
@@ -108,4 +110,5 @@ ENV OPENVPN_USERNAME=**None** \

# Expose port and run
EXPOSE 9091
EXPOSE 8888
CMD ["dumb-init", "/etc/openvpn/start.sh"]

+ 3
- 0
openvpn/start.sh 查看文件

@@ -54,4 +54,7 @@ if [ -n "${LOCAL_NETWORK-}" ]; then
fi
fi

/opt/tinyproxy/run.sh ANY
/etc/init.d/tinyproxy start

exec openvpn $TRANSMISSION_CONTROL_OPTS $OPENVPN_OPTS --config "$OPENVPN_CONFIG"

正在加载...
取消
保存