Thanks to visit codestin.com
Credit goes to github.com

Skip to content

5VNetwork/vx-core

Repository files navigation

vx-core

A proxy tool originated from v2ray-core. It powers our multi-platform proxy client app: VX

Features

Supported Proxy Protocols

  • VMESS - Versatile protocol with AEAD encryption
  • Shadowsocks - Classic proxy protocol with multiple encryption methods
  • Trojan - TLS-based proxy protocol with Vision support
  • Hysteria2 - UDP-based protocol optimized for low-latency and high-speed
  • VLESS - Lightweight protocol with Vision/XTLS support
  • SOCKS5 - Standard SOCKS proxy protocol
  • HTTP - HTTP proxy support
  • AnyTLS - Reduce characteristics of TLS in TLS
  • Dokodemo-door - For port forwarding

Server-Side Quick Start

We recommend to using our proxy client VX to install and configure vx-core, because the client has GUI interface and documentation.

Config file can be either protobuf file, or json file using ProtoJSON format.

  1. Create a configuration file config.json:

The server proto config can be found at protos/server/server.proto

{
    "inbounds": [
        {
            "tag": "vmess",
            "ports": [10000],
            "protocol": {
                "@type": "type.googleapis.com/x.proxy.VmessServerConfig",
                "secureEncryptionOnly": true
            }
        }
    ],
    "router": {
        "rules": [
            {
                "matchAll": true,
                "outboundTag": "direct"
            }
        ]
    },
    "outbounds": [
        {
            "tag": "direct",
            "protocol": {
                "@type": "type.googleapis.com/x.proxy.FreedomConfig"
            }
        }
    ]
}
  1. Run vx:
vx run --config config.json

License

See LICENSE file for details.

License Compliance

The code contains in "proxy/vless", "tranport/security/reality", "tranport/protocol/splithttp", "app/util/x25519", "api/reali_scanner", "tranport/security/tls/ech" folder is modified from Xray-core. It is distributed under the same licence(Mozilla Public License 2.0) as the original project.

Support

For issues, questions, or contributions, please open an issue on GitHub. Thanks