Skip to content

Commit

Permalink
Docker: Bypass traffic to proxy, to avoid recursive proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
WankkoRee committed Jul 6, 2024
1 parent 9176524 commit 05950b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ config_route() {
echo "ip rule add to ${addr} table ${TABLE}" >> /route.sh
done

echo "ip rule add to ${SOCKS5_ADDR} table main" >> /route.sh

for addr in $(echo ${IPV4_EXCLUDED_ROUTES} | tr ',' '\n'); do
echo "ip rule add to ${addr} table main" >> /route.sh
done
Expand Down

0 comments on commit 05950b3

Please sign in to comment.