Skip to content

Commit

Permalink
ci: dual stack
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Dec 20, 2024
1 parent 6b63d7c commit 7ce1ca0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/live-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ jobs:
sudo apt-get -y update
sudo apt-get -y install --no-install-recommends net-tools iproute2 openresolv dnsutils iptables wireguard-tools
LAN=$(ip route get 192.168.193.10 | grep -oP 'src \K\S+')
CONFIG="[Interface]
CONFIG="
[Interface]
PrivateKey = cKE7LmCF61IhqqABGhvJ44jWXp8fKymcMAEVAzbDF2k=
Address = 172.16.0.2/32
Address = fd01:5ca1:ab1e:823e:e094:eb1c:ff87:1fab/128
Expand All @@ -68,11 +69,12 @@ jobs:
[Peer]
PublicKey = bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=
AllowedIPs = 0.0.0.0/0
AllowedIPs = ::/0
Endpoint = 162.159.193.10:2408
"
CONFIG+="AllowedIPs = ::/0
"
CONFIG+="Endpoint = 162.159.193.10:2408"
echo "$CONFIG" | sed "s/^[ ]\+//g" | sudo tee /etc/wireguard/warp.conf
cat /etc/wireguard/warp.conf
sudo wg-quick up warp
sleep 5
Expand Down

0 comments on commit 7ce1ca0

Please sign in to comment.