Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Relay support #1

Closed
damianoneill opened this issue May 25, 2017 · 3 comments
Closed

Feature Request: Relay support #1

damianoneill opened this issue May 25, 2017 · 3 comments

Comments

@damianoneill
Copy link

Could this tool be used as a UDP relay? I.e. where packets destined to the inbound port are forwarded to more than one upstream?

Thanks,
Damian.

@felipejfc
Copy link
Owner

not the way it works today, we would need to add multiple upstreams in config, like:

    {
      "bindPort": 10000,
      "clientTimeout": 1000,
      "upstreams": [
          {
            "address": "localhost",
            "port": 8830,
          },
          {
            "address": "localhost",
            "port": 8840
          }
       ],
      "name": "exampleStream1",
      "resolveTTL": 30000
    },

and then change the proxy code accordingly.

@gumyn
Copy link

gumyn commented Jul 4, 2017

What are these changes in the proxy ?

@felipejfc
Copy link
Owner

@gumyn basically maintain 2(or more) upstream connections instead of one...
The code is simple and should be easy to understand...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants