V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
rebecca554owen
V2EX  ›  宽带症候群

openppp2,一个次世代组网 VPN

  •  
  •   rebecca554owen · 214 天前 · 2255 次点击
    这是一个创建于 214 天前的主题,其中的信息可能已经有所发展或是发生改变。

    PPP PRIVATE NETWORK™ 2 VPN Next Generation Reliable and Secure Virtual Ethernet Access Solution!

    项目地址: https://github.com/liulilittle/openppp2

    Support: Windows 10+ / Linux 20+ / macOS Intel Atom® x5-Z8300/Z8350 (Cloud terminal, TV set-top box, soft router, etc) Amlogic S805 TV (Player cloud, Netheart cloud, Fei xun N1 TV set-top box) HUAWEI HI3798MV100 TV (China Telecom, China Mobile, China Unicom TV set-top box)

    9 条回复    2024-06-10 11:17:19 +08:00
    povsister
        1
    povsister  
       214 天前 via iPhone
    这💩readme ,你说是那就是吧
    Damn
        2
    Damn  
       214 天前
    缓缓地打出一个❓
    zwy100e72
        3
    zwy100e72  
       214 天前   ❤️ 3
    * 没有文档(包括但不限于上手指南、构建指南、开发指南、原理说明、与同类工具的对比等)
    * 库上存在未知来源的二进制文件,无法证明可以从库上源码以 reproducible 的方式构建
    * 库上存在未知来源的 `cacert.pem` / RSA 密钥对
    0o0O0o0O0o
        4
    0o0O0o0O0o  
       214 天前
    前几天出现在推荐里,点进去没看到文档
    kyuuseiryuu
        5
    kyuuseiryuu  
       214 天前
    额。。。自己玩玩得了
    tediorelee
        6
    tediorelee  
       214 天前
    "Add Files."
    GotKiCry
        7
    GotKiCry  
       212 天前
    先完善一下 Readme 再说把
    rebecca554owen
        8
    rebecca554owen  
    OP
       191 天前
    ## Server side

    1. Find a server to deploy openppp2 server

    2. Connect to the server.

    3. Download the openppp2 zip remotely.

    4. Modify the given appsettings.json template file in the openppp2 compressed file.

    1. If you have no need to use this server as SNIProxy server, please delete the "cdn" param.

    2. If your server has 256MiB+ mem and disk I/O speed of 4K-blocks is not satifying, please delete the vmem param

    3. If your server has more than 1 thread, you would better set the cocurrent to the thread number.

    4. Set the server listening ip address

    1. If you decide to use all the ip assinged to the server, please change the ip.interface and ip.public to "::"

    ```json
    "ip": {
    "interface": "::",
    "public": "::"
    }
    ```
    2. If you decide to use only one ip address, please change the the ip.interface and ip.public to the ip that you want to use.

    3. In some special situations, that the public ip is assigned by route, you should change the interface to the "::" and change the public to the ip address going to be used.

    4. Hate IPv6? Replace all "::" to "0.0.0.0"

    5. Set the tcp and udp port by modifying tcp.listen.port and udp.listen.port

    6. Delete the whole websocket param, since the tcp connection would be secured enough facing the censorship.(Websocket connection should be used in some specific situations)

    7. Set some server running params

    1. server.log is the path to store the connection logs. If you hate logs, please set to "/dev/null"

    2. Delete the following params in server block.

    ```json

    "server": {
    "log": "/dev/null"
    }

    ```

    8. use `screen -S` to keep openppp2 running at backstage

    9. Remenber to chmod +x !

    10. Boot the server
    rebecca554owen
        9
    rebecca554owen  
    OP
       191 天前
    ## Client Side Configuration

    1. Delete the vmem params as long as you client is running on your PC or the client device is using eMMc as the storage.

    2. Set the udp.static.server

    - IP:PORT

    - DOMAIN:PORT

    - DOMAIN[IP]:PORT

    3. Set client.guid to a totally random one, please make sure no other client share the same GUID with the one that you are using.

    4. Set the client.server

    - ppp://IP:PORT

    - ppp://DOMAIN:PORT

    - ppp://DOMAIN[IP]:PORT

    5. Delete the client.bandwidth to unleash the openppp2 full speed

    6. Delete the mappings params

    ## Client CLI notice

    1. The TUN gateway on windows should be x.x.x.0

    2. Only by adding the --tun-static=yes , the UDP streams would be trasfered seperately.

    3. If the --block-quic=yes, no matter what the --tun-static is, there won't be any QUIC streams.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3210 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 12:34 · PVG 20:34 · LAX 04:34 · JFK 07:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.