Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Ground Controller Lvl 2
Message 21 of 22

Re: Cannot reach any github.io page via IPv6

Here is my solution/workaround. It requires:

1. a server/vps (a bridge) with IPv4 connectivity and a couple of IPv6 addresses, ideally a /64

2. install gpr (https://github.com/elgs/gproxy) on the bridge

3. create gpr.json on the bridge server as follows:

```

{
"github.com" : {
"dstPort" : 443,
"localPort" : 443,
"localAddr" : "[2001:1111:1111:1111:0000:0000:0000:0001]",
"dstAddr" : "github.com"
},
"codeload.github.com" : {
"dstPort" : 443,
"localPort" : 443,
"localAddr" : "[2001:1111:1111:1111:0000:0000:0000:0002]",
"dstAddr" : "codeload.github.com"
}
}

```

4. run gpr gpr.json on the bridge;

5. on the IPv6 only servers, append the following lines to /etc/hosts

github.com 2001:1111:1111:1111:0000:0000:0000:0001

codeload.github.com 2001:1111:1111:1111:0000:0000:0000:0002

 

And you are ready to rock and roll.

Ground Controller Lvl 1
Message 22 of 22

Re: Cannot reach any github.io page via IPv6

Just a note that if you are using a link local IPv6 address within fe80::/10 for your proxy (ex: from an IPv6 only buildbot so that it can reach luddite IPv4 only services such as github or your buildbot master), you need to add the interface name to the `localAddr` IPv6 addresses.  Such as [fe80::2:3:5:8%enp1s0].