@@ -133,7 +133,7 @@ jobs:
133
133
cd /host
134
134
135
135
docker exec dae apt update
136
- docker exec dae apt install -y curl dnsutils
136
+ docker exec dae apt install -y curl dnsutils netcat
137
137
138
138
vmess_link=$(base64 -w0 vmess.json)
139
139
cat > ./conf.dae <<!
@@ -187,6 +187,17 @@ jobs:
187
187
docker exec dae dig @8.8.8.8 one.one.one.one
188
188
cat /host/v2ray.access.log | grep -q 'accepted udp:8.8.8.8:53'
189
189
190
+ - name : Check WAN IPv6 TCP
191
+ uses : cilium/little-vm-helper@908ab1ff8a596a03cd5221a1f8602dc44c3f906d # v0.0.12
192
+ with :
193
+ provision : ' false'
194
+ cmd : |
195
+ set -ex
196
+
197
+ docker exec dae nc -v -w1 2606:4700:4700::1111 80 &> /host/nc.log
198
+ cat /host/nc.log | grep -q 'succeeded!'
199
+ cat /host/dae.log | grep -F -- '-> [2606:4700:4700::1111]:80'
200
+
190
201
- name : Setup LAN
191
202
uses : cilium/little-vm-helper@908ab1ff8a596a03cd5221a1f8602dc44c3f906d # v0.0.12
192
203
with :
@@ -211,6 +222,12 @@ jobs:
211
222
ip net e dae ip r a 169.254.0.1 dev dae-veth
212
223
ip net e dae ip r a default via 169.254.0.1 dev dae-veth
213
224
225
+ sysctl net.ipv6.conf.dae-veth-peer.disable_ipv6=0
226
+ ip -6 r a fd00:ffff::1 dev dae-veth-peer
227
+ ip -6 a a fe80::ecee:eeff:feee:eeee dev dae-veth-peer
228
+ ip net e dae ip -6 a a fd00:ffff::1 dev dae-veth
229
+ ip net e dae ip -6 r r default via fe80::ecee:eeff:feee:eeee dev dae-veth
230
+
214
231
sysctl net.ipv4.conf.dae-veth-peer.proxy_arp=1
215
232
sysctl net.ipv4.conf.dae-veth-peer.rp_filter=2
216
233
iptables-legacy -t nat -A POSTROUTING -s 10.0.0.1/32 -j MASQUERADE
@@ -219,6 +236,7 @@ jobs:
219
236
220
237
docker exec dae ping -c1 10.0.0.1
221
238
docker exec dae ip net e dae curl 1.0.0.1
239
+ docker exec dae ping -c1 fd00:ffff::1
222
240
223
241
docker exec dae sysctl net.ipv4.conf.dae-veth-peer.send_redirects=0
224
242
docker exec dae sysctl net.ipv6.conf.dae-veth-peer.forwarding=1
@@ -274,3 +292,14 @@ jobs:
274
292
275
293
docker exec dae ip net e dae dig @8.8.4.4 one.one.one.one
276
294
cat /host/v2ray.access.log | grep -q 'accepted udp:8.8.4.4:53'
295
+
296
+ - name : Check LAN IPv6 TCP
297
+ uses : cilium/little-vm-helper@908ab1ff8a596a03cd5221a1f8602dc44c3f906d # v0.0.12
298
+ with :
299
+ provision : ' false'
300
+ cmd : |
301
+ set -ex
302
+
303
+ docker exec dae ip net e dae nc -v -w1 2606:4700:4700::1001 80 &> /host/nc.log
304
+ cat /host/nc.log | grep -q 'succeeded!'
305
+ cat /host/dae.log | grep -F -- '-> [2606:4700:4700::1001]:80'
0 commit comments