mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-04 03:48:55 +02:00
update
This commit is contained in:
parent
8d0a1143fd
commit
b5b8dfe4cf
@ -35,8 +35,7 @@ CMD echo "{+block}" >> /etc/privoxy/user.action \
|
||||
&& iptables -t filter -A OUTPUT -p tcp \
|
||||
-m owner --uid-owner privoxy \
|
||||
-j ACCEPT \
|
||||
&& iptables -t nat -A OUTPUT -p tcp \
|
||||
-m multiport --dports 80,443 \
|
||||
&& iptables -t nat -A OUTPUT -p tcp --dport 80 \
|
||||
-m owner ! --uid-owner privoxy \
|
||||
-j REDIRECT --to-ports 8118 \
|
||||
&& gosu privoxy privoxy --no-daemon /etc/privoxy/config
|
||||
|
Loading…
Reference in New Issue
Block a user