mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-29 18:21:24 +00:00
update
This commit is contained in:
parent
edca501d11
commit
8c86b8c344
@ -19,7 +19,7 @@ RUN sed -i -e '/^listen-address/s/127.0.0.1/0.0.0.0/' \
|
|||||||
VOLUME /etc/privoxy
|
VOLUME /etc/privoxy
|
||||||
EXPOSE 8118
|
EXPOSE 8118
|
||||||
|
|
||||||
CMD echo "{+block}" >> /etc/privoxy/user.action \
|
CMD echo "{+block{self}}" >> /etc/privoxy/user.action \
|
||||||
&& ip a s eth0 | grep -w inet | awk '{print $2}' | cut -d/ -f1 >> /etc/privoxy/user.action \
|
&& ip a s eth0 | grep -w inet | awk '{print $2}' | cut -d/ -f1 >> /etc/privoxy/user.action \
|
||||||
&& ip r s | grep default | awk '{print $3}' >> /etc/privoxy/user.action \
|
&& ip r s | grep default | awk '{print $3}' >> /etc/privoxy/user.action \
|
||||||
&& iptables -t filter -P OUTPUT DROP \
|
&& iptables -t filter -P OUTPUT DROP \
|
||||||
|
Loading…
Reference in New Issue
Block a user