mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-05-19 00:10:21 +00:00
Allow multiple bypass IP addresses/CIDRs in routing setup
See issue #73.
This commit is contained in:
parent
9b27dd2df2
commit
e08a0f683d
10 changed files with 112 additions and 123 deletions
13
Dockerfile
13
Dockerfile
|
@ -12,18 +12,9 @@ RUN cargo build --release --target x86_64-unknown-linux-gnu
|
|||
## Final image
|
||||
####################################################################################################
|
||||
FROM ubuntu:latest
|
||||
WORKDIR /app
|
||||
|
||||
ENV TUN=tun0
|
||||
ENV PROXY=
|
||||
ENV DNS=virtual
|
||||
ENV MODE=auto
|
||||
ENV BYPASS_IP=
|
||||
ENV VERBOSITY=info
|
||||
|
||||
RUN apt update && apt install -y iproute2 curl && apt clean all
|
||||
RUN apt update && apt install -y iproute2 && apt clean all
|
||||
|
||||
COPY --from=builder /worker/target/x86_64-unknown-linux-gnu/release/tun2proxy /usr/bin/tun2proxy
|
||||
COPY --from=builder /worker/docker/entrypoint.sh /app
|
||||
|
||||
ENTRYPOINT ["/app/entrypoint.sh"]
|
||||
ENTRYPOINT ["/usr/bin/tun2proxy", "--setup", "auto"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue