Allow limited access to host ports
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 1.2k
- Forks
- 214
- PR merge metrics
- No merged PRs in 30d
Description
The host is currently only listening on its own internal IP for
- DNS
- NTP
It's not possible for the VM to (for example) ssh into the host. It would be nice to be able to configure the host to expose particular ports to the VM. The configuration could be stored in the datakit database and the keys watched by the vpnkit code.
This involves
- defining a format for expressing the desired configuration in terms of database keys and values
- watching the configuration and dynamically adding/removing the ports
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the vpnkit code responsible for host networking and its integration with the datakit database. Determine how database keys and values should express exposed ports, then trace how configuration changes could be watched and applied dynamically. Done means a defined configuration format and support for adding and removing the requested host ports.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100