aleph-vm icon indicating copy to clipboard operation
aleph-vm copied to clipboard

As a VM developer, I would like to talk with a VM using raw TCP sockets

Open hoh opened this issue 4 years ago • 2 comments

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.

hoh avatar Feb 25 '22 16:02 hoh

Alternatively, we could consider providing a dynamically allocated IPv6 address and a port specified by the program.

hoh avatar Feb 25 '22 16:02 hoh

This doc may be relevant: https://www.digitalocean.com/community/tutorials/how-to-forward-ports-through-a-linux-gateway-with-iptables

hoh avatar Aug 17 '22 16:08 hoh