IPv6 for GitHub

I was tired of GitHub not supporting IPv6 so I made this proxy.

Using githubv6 explicitly

Just change git@github.com to git@githubv6.com in your origin URLs.
For HTTP urls change https://github.com/ to https://githubv6.com/gh/

Using githubv6 automatically

Just add this line to your /etc/hosts file to override DNS:
2a06:7e00:a97:a100::667 github.com
Since we don't tamper with your connection, all certificates remain valid.

Privacy

This doesn't hide your IP address from GitHub. It's passed along in X-Forwarded-For.

Security

Port 22 is relayed directly to GitHub. You know I'm not intercepting your connection because your connection uses github.com's host key. You can check this.
HTTP connections to the ::667 address are relayed directly to GitHub. You can tell because they have the certificate for github.com.

Reliability

This is a random project created on a whim. No guarantee provided. If you want one, email contact@githubv6.com and we can talk about prices.

But I didn't vibe-code it, so it's surely going to be fine until GitHub's AI decides to block it.