Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Warp Native

🇷🇺 Русская версия

This script installs Cloudflare WARP in "native" mode via WireGuard as an interface, without using warp-cli.

⚠️ Only Debian/Ubuntu based systems are supported.

It automates:

  • Installation of required packages
  • Download and configuration of wgcf
  • IPv6 availability check in the system
  • Generation and modification of WireGuard configuration
  • Connection and status verification
  • Enable auto-start of warp interface

🚀 Installation Methods

Option 1: Shell Script (Quick Install)

Install on each required node:

bash <(curl -fsSL https://raw.githubusercontent.com/distillium/warp-native/main/install.sh)

Option 2: Ansible Role (Recommended for automation)

For managing multiple servers, use the Ansible role:

Install from Ansible Galaxy:

ansible-galaxy install themelbine.warp_native

GitHub Repository: ansible-role-warp-native

Example playbook:

- hosts: warp_servers
  become: yes
  roles:
    - themelbine.warp_native
  vars:
    warp_native_state: present
    warp_native_modify_resolv: true

Xray Configuration Templates

📝 Show outbound example
{
  "tag": "warp-out",
  "protocol": "freedom",
  "settings": {
    "domainStrategy": "UseIP"
  },
  "streamSettings": {
    "sockopt": {
      "interface": "warp",
      "tcpFastOpen": true
    }
  }
}
📝 Show routing rule example
{
  "type": "field",
  "domain": [
    "netflix.com",
    "youtube.com",
    "twitter.com"
  ],
  "inboundTag": [
    "Node-1",
    "Node-2"
  ],
  "outboundTag": "warp-out"
}

WARP Interface Management

OperationCommand
Check service statussystemctl status wg-quick@warp
Show information (wg)wg show warp
Stop interfacesystemctl stop wg-quick@warp
Start interfacesystemctl start wg-quick@warp
Restart interfacesystemctl restart wg-quick@warp
Disable auto-startsystemctl disable wg-quick@warp
Enable auto-startsystemctl enable wg-quick@warp

Uninstall

Shell Script Method:

bash <(curl -fsSL https://raw.githubusercontent.com/distillium/warp-native/main/uninstall.sh)

Ansible Method:

- hosts: warp_servers
  become: yes
  roles:
    - themelbine.warp_native
  vars:
    warp_native_state: absent

License

MIT License - see LICENSE file for details.

Author

Created by distillium

Language Support

The installation script supports interactive language selection. During installation, you'll be prompted to choose between English and Russian.

关于 About

This script installs Cloudflare WARP in native mode via WireGuard as an interface, without using warp-cli
remnawavewarpxray

语言 Languages

Shell100.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
30
Total Commits
峰值: 13次/周
Less
More

核心贡献者 Contributors