Skip to content

Commit

Permalink
fix: force-ipv4 not working due to invalid arg
Browse files Browse the repository at this point in the history
  • Loading branch information
JCMais committed Dec 25, 2024
1 parent 75edc05 commit 41db636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/force-ipv4/force-ipv4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ configure_warp_doh_and_exclude_ipv6() {
echo 'Configuring WARP to operate in DNS-over-HTTPS mode (warp+doh)...'
warp-cli --accept-tos mode warp+doh
echo 'Excluding IPv6 traffic from WARP by configuring it as a split tunnel...'
warp-cli --accept-tos tunnel ip-range add '::/0' # Exclude IPv6, forcing IPv4 resolution
warp-cli --accept-tos tunnel ip add '::/0' # Exclude IPv6, forcing IPv4 resolution
# `tunnel ip add` does not work with IP ranges, see https://community.cloudflare.com/t/cant-cidr-for-split-tunnling/630834
echo 'Establishing WARP connection...'
warp-cli --accept-tos connect
Expand Down

0 comments on commit 41db636

Please sign in to comment.