aleph-vm
aleph-vm copied to clipboard
As a VM developer, I would like to talk with a VM using raw TCP sockets
Is your feature request related to a problem? Please describe.
Users cannot use protocols other than HTTPS.
Describe the solution you'd like
- A dynamically allocated port is open on the host and forwards packets to the VM
- An API to know which port to connect to
- An option to open a port only reachable from other Aleph VMs
Describe alternatives you've considered
NAT transversal such as coturn.
Alternatively, we could consider providing a dynamically allocated IPv6 address and a port specified by the program.
This doc may be relevant: https://www.digitalocean.com/community/tutorials/how-to-forward-ports-through-a-linux-gateway-with-iptables