Giter Site home page Giter Site logo

Comments (8)

zhboner avatar zhboner commented on July 17, 2024 1

This issue has been fixed in beta.3

from realm.

zhboner avatar zhboner commented on July 17, 2024

配置文件写法没有问题,请问转发的是UDP还是TCP呢

from realm.

sitsh avatar sitsh commented on July 17, 2024

配置文件写法没有问题,请问转发的是UDP还是TCP呢

一个转发 ws+Tls 组合 一个 tcp+TLS 组合 都是 tcp,
现在已经把配置 单独写 开了2个进程 用了

from realm.

sitsh avatar sitsh commented on July 17, 2024

又 测试了下。写在 配置第二个 就是上面 2.2.2.2 远程地址的配置可以运作。
第一个位置1.1.1.1的配置无法 转发成功。
把配置拆分后 独立写 都能转发。

from realm.

zhboner avatar zhboner commented on July 17, 2024

感谢反馈。

这个问题很奇怪,我这边是可以的。

之后的更新会加入一些监听信息,帮助定位问题。

from realm.

sitsh avatar sitsh commented on July 17, 2024

This issue has been fixed in beta.3

太好了。我现在 多端口的多ip的配置文件在 beta3版本中 中已经工作正常啦。

from realm.

laoyur avatar laoyur commented on July 17, 2024

配置文件支持端口段,当转发端口的数量大于本地地址时,都会默认使用第一个传入的地址。这样实现了一个地址上的多端口转发多ip或单ip上的多端口。

只有我一个人看不懂这段介绍吗?

像楼主那种配置,算是一一对应,没有异议。那么,如果是如下配置:

{
"listening_addresses": ["0.0.0.0"],
"listening_ports": ["443","1443"],
"remote_addresses": ["1.1.1.1","2.2.2.2"],
"remote_ports": ["443","1443", "2443"]
}

根据作者的介绍,该作何解呢?2.2.2.2是会被忽略吗?然后本地的443、1443被随机转发到1.1.1.1的443/1443/2443 ?

from realm.

nzcool avatar nzcool commented on July 17, 2024

配置文件支持端口段,当转发端口的数量大于本地地址时,都会默认使用第一个传入的地址。这样实现了一个地址上的多端口转发多ip或单ip上的多端口。

只有我一个人看不懂这段介绍吗?

像楼主那种配置,算是一一对应,没有异议。那么,如果是如下配置:

{
"listening_addresses": ["0.0.0.0"],
"listening_ports": ["443","1443"],
"remote_addresses": ["1.1.1.1","2.2.2.2"],
"remote_ports": ["443","1443", "2443"]
}

根据作者的介绍,该作何解呢?2.2.2.2是会被忽略吗?然后本地的443、1443被随机转发到1.1.1.1的443/1443/2443 ?

其实我也想搞明白

from realm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.