mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-24 05:17:06 +02:00
udpate
This commit is contained in:
parent
5ca78aa507
commit
3cacd333ff
@ -18,7 +18,8 @@ RUN sed -i -e '/^listen-address/s/127.0.0.1/0.0.0.0/' \
|
||||
VOLUME /etc/privoxy
|
||||
EXPOSE 8118
|
||||
|
||||
CMD iptables -t filter -P OUTPUT DROP \
|
||||
CMD iptables -A INPUT -s 127.0.0.1 -d 127.0.0.1 -j REJECT \
|
||||
&& iptables -t filter -P OUTPUT DROP \
|
||||
&& iptables -t filter -A OUTPUT -p udp --dport 53 -j ACCEPT \
|
||||
&& iptables -t filter -A OUTPUT -p tcp \
|
||||
-m multiport --dports 53,80,443,8118 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user