moby / moby/vpnkit

Allow limited access to host ports

Open
#19 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.