mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:36 +02: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
|
||||
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 r s | grep default | awk '{print $3}' >> /etc/privoxy/user.action \
|
||||
&& iptables -t filter -P OUTPUT DROP \
|
||||
|
Loading…
Reference in New Issue
Block a user