You are browsing as a guest. Sign up (or log in) to start making projects!

1h 1m 21s logged

Finished proxy - but I can’t use it

I finished writing the proxy. I had to:

  1. Retrieve the provided containers internal IP
  2. Generate a random IPv6 address within the given prefix and add it using netlink
  3. Start a proxy, listening at the generated IPv6 for each port, and proxying it to the containers IP.

This works, but unfortunately I can’t use it!

My server provider, datalix, gives a /64 subnet for each VPS, but what they don’t tell you is that you can only have 10 routed IPv6 addresses! This is not enough, and I have to manually add the addresses anyways. This means that I can’t listen on the generated IP address, and also that I can’t give each container an IP. This is a big problem, because some applications (like a minecraft server) require a plain TCP connection, which does not work behind a reverse proxy since there is no hostname passed.

My only option is to rent a dedicated server, which I can’t afford right now.

So now I will continue work on other parts of the project, like making it viable and easy to deploy different services, offer one click apps/database and potentially work on a way provision servers from the cloud.


Commits:

  1. Retrieve container IPv4 address on expose command
  2. Finish proxy
0
6

Comments 0

No comments yet. Be the first!