libp2p / libp2p/go-libp2p

[feature request] Could you add a "port forwarding" example?

Open
#324 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

topic/docs
Dominant language
Go
Stars
6.9k
Forks
1.3k
Avg merge
13d 21h
Merged PRs (30d)
1

Description

Could you do me a favor to add a "port forwarding" example?
Currently only there is a "http-proxy" example(https://github.com/libp2p/go-libp2p/tree/master/examples/http-proxy)
If we have "port forwarding" example, we can port-forward to any service port, for example sniproxy, nginx etc.

Edit:
https://github.com/libp2p/go-libp2p/issues/324#issuecomment-1073456410

Contributor guide

No contributing guide indexed for this repository

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 reading the existing examples/http-proxy example linked in the issue and the surrounding issue discussion, including the edit comment. Done means adding a port-forwarding example that can forward traffic to arbitrary service ports such as sniproxy or nginx.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.