This commit is contained in:
2026-03-14 01:37:08 +08:00
parent 802c19db0a
commit 17a30c454e
2 changed files with 19 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
FROM registry.fedoraproject.org/fedora:43
RUN dnf -y install --setopt=install_weak_deps=False --nodocs curl && dnf clean all
RUN echo "=== Testing SOCKS5 ===" && \
curl -x socks5://192.168.0.11:1080 -v https://www.google.com 2>&1 | head -20 || echo "SOCKS5 FAILED"
RUN echo "=== Testing HTTP ===" && \
curl -x http://192.168.0.11:1080 -v https://www.google.com 2>&1 | head -20 || echo "HTTP FAILED"