Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv6 is not assigned #3

Closed
lbrdt opened this issue Dec 21, 2024 · 2 comments
Closed

IPv6 is not assigned #3

lbrdt opened this issue Dec 21, 2024 · 2 comments

Comments

@lbrdt
Copy link

lbrdt commented Dec 21, 2024

For the last couple of days, the action isn't able to assign IPv6 (and also IPv4) to the github runners, and connecting to IPv6 only services fail.

Here's a run

Run fscarmen/warp-on-actions@v***.***
  with:
    stack: dual
    mode: wireguard
Run if [ "wireguard" == 'client' ]; then
WARP mode: wireguard.
Get:*** file:/etc/apt/apt-mirrors.txt Mirrorlist [***4[2](https://github.com/Nirose/sdf/actions/runs/12443810224/job/34743432777#step:3:2) B]
Hit:6 https://packages.microsoft.com/repos/azure-cli jammy InRelease
Get:7 https://packages.microsoft.com/ubuntu/22.***[4](https://github.com/Nirose/sdf/actions/runs/12443810224/job/34743432777#step:3:4)/prod jammy InRelease [***6***2 B]
Hit:2 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
Get:*** http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease [***28 kB]
Get:4 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease [***27 kB]
Get:[5](https://github.com/Nirose/sdf/actions/runs/12443810224/job/34743432777#step:3:5) http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease [***29 kB]
Get:8 https://packages.microsoft.com/ubuntu/22.***4/prod jammy/main armhf Packages [***[6](https://github.com/Nirose/sdf/actions/runs/12443810224/job/34743432777#step:3:6).*** kB]
Get:9 https://packages.microsoft.com/ubuntu/22.***4/prod jammy/main amd64 Packages [***[7](https://github.com/Nirose/sdf/actions/runs/12443810224/job/34743432777#step:3:7)4 kB]
Get:*** https://packages.microsoft.com/ubuntu/22.***4/prod jammy/main arm64 Packages [4***.4 kB]
Get:*** http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2252 kB]
Get:***2 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [***[8](https://github.com/Nirose/sdf/actions/runs/12443810224/job/34743432777#step:3:8)*** kB]
Get:*** http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [28***8 kB]
(Reading database ... ***%
(Reading database ... 266548 files and directories currently installed.)
Preparing to unpack .../openresolv_***.***2.***-2_all.deb ...
Unpacking openresolv (***.***2.***-2) ...
Selecting previously unselected package wireguard-tools.
Preparing to unpack .../wireguard-tools_***.***.2***2***[9](https://github.com/Nirose/sdf/actions/runs/12443810224/job/34743432777#step:3:9)***4-***ubuntu2_amd64.deb ...
Unpacking wireguard-tools (***.***.2***2***9***4-***ubuntu2) ...
Setting up wireguard-tools (***.***.2***2***9***4-***ubuntu2) ...
wg-quick.target is a disabled or a static unit not running, not starting it.
Setting up openresolv (***.***2.***-2) ...
Processing triggers for man-db (2.***.2-***) ...
NEEDRESTART-VER: ***.5
NEEDRESTART-KCUR: 6.5.***-***25-azure
NEEDRESTART-KEXP: 6.5.***-***25-azure
NEEDRESTART-KSTA: ***
[Interface]
PrivateKey = cKE7LmCF6***IhqqABGhvJ44jWXp8fKymcMAEVAzbDF2k=
Address = ***72.***6.***.2/***2
Address = fd***:5ca***:ab***e:82***e:e***94:eb***c:ff[87](https://github.com/Nirose/sdf/actions/runs/12443810224/job/34743432777#step:3:89):***fab/***28
PostUp = ip -4 rule add from ***.***.***.***7 lookup main
PostDown = ip -4 rule delete from ***.***.***.***7 lookup main
DNS = 8.8.8.8,8.8.4.4
MTU = ***28***
[Peer]
PublicKey = bmXOC+F***FxEMF9dyiK2H5/***SUtzH***JuVo5***h2wPfgyo=
AllowedIPs = ***.***.***.***/***
AllowedIPs = ::/***
Endpoint = ***62.***59.***9***.***:24***8
[#] ip link add warp type wireguard
[#] wg setconf warp /dev/fd/6***
[#] ip -4 address add ***72.***6.***.2/***2 dev warp
[#] ip -6 address add fd***:5ca***:ab***e:82***e:e***[94](https://github.com/Nirose/sdf/actions/runs/12443810224/job/34743432777#step:3:96):eb***c:ff87:***fab/***28 dev warp
[#] ip link set mtu ***28*** up dev warp
[#] resolvconf -a warp -m *** -x
[#] wg set warp fwmark 5***82***
[#] ip -6 route add ::/*** dev warp table 5***82***
[#] ip -6 rule add not fwmark 5***82*** table 5***82***
[#] ip -6 rule add table main suppress_prefixlength ***
[#] nft -f /dev/fd/6***
[#] ip -4 route add ***.***.***.***/*** dev warp table 5***82***
[#] ip -4 rule add not fwmark 5***82*** table 5***82***
[#] ip -4 rule add table main suppress_prefixlength ***
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=***
[#] nft -f /dev/fd/6***
[#] ip -4 rule add from ***.***.***.***7 lookup main
===============================
IP:
IPv4: 
IPv6:
@fscarmen
Copy link
Owner

Try client mode

@lbrdt
Copy link
Author

lbrdt commented Dec 21, 2024

It works with client mode. Thanks!

@lbrdt lbrdt closed this as completed Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants