- Log the packet filtering - dump the packets from all interfaces #1 Figure out why packets aren't being forwarded using iptables and pr0xy
27 lines
519 B
Docker
27 lines
519 B
Docker
FROM alpine
|
|
|
|
RUN apk add --no-cache \
|
|
bash \
|
|
curl \
|
|
dumb-init \
|
|
iptables \
|
|
git \
|
|
netcat-openbsd \
|
|
python3 \
|
|
ulogd \
|
|
tcpdump \
|
|
wget
|
|
|
|
RUN pip3 install dnslib
|
|
|
|
COPY pr0cks /opt/pr0cks
|
|
COPY exec.sh /opt/
|
|
|
|
# https://it-offshore.co.uk/linux/alpine-linux/55-alpine-linux-lxc-guest-iptables-logging
|
|
RUN sed -i -e "s/#stack=log1/stack=log1/g" /etc/ulogd.conf
|
|
|
|
ENTRYPOINT ["dumb-init"]
|
|
CMD ["/bin/bash" , "/opt/exec.sh"]
|
|
#CMD ["/bin/bash" , "-c", "while true; do sleep 30 ; done" ]
|
|
# CMD ["curl", "https://stats.i2p" ]
|