/warp-plus

Warp+Psiphon, an anti censorship utility for iran

Primary LanguageGoMIT LicenseMIT

Warp-Plus

Warp-Plus is an open-source implementation of Cloudflare's Warp, enhanced with Psiphon integration for circumventing censorship. This project aims to provide a robust and cross-platform VPN solution that can use psiphon on top of warp and warp-in-warp for changing the user virtual nat location.

Features

  • Warp Integration: Leverages Cloudflare's Warp to provide a fast and secure VPN service.
  • Psiphon Chaining: Integrates with Psiphon for censorship circumvention, allowing seamless access to the internet in restrictive environments.
  • Warp in Warp Chaining: Chaning two instances of warp together to bypass location restrictions.
  • SOCKS5 Proxy Support: Includes a SOCKS5 proxy for secure and private browsing.

Getting Started

Prerequisites

  • You can download prebuilt binaries or compile it with Go (You MUST use go 1.22)
  • Basic understanding of VPN and proxy configurations

Installation

  1. Clone the repository:

    git clone https://github.com/bepass-org/warp-plus.git
    cd warp-plus
  2. Build the project:

    go build

Usage

NAME
  warp-plus

FLAGS
  -4                      only use IPv4 for random warp endpoint
  -6                      only use IPv6 for random warp endpoint
  -v, --verbose           enable verbose logging
  -b, --bind STRING       socks bind address (default: 127.0.0.1:8086)
  -e, --endpoint STRING   warp endpoint
  -k, --key STRING        warp key
      --gool              enable gool mode (warp in warp)
      --cfon              enable psiphon mode (must provide country as well)
      --country STRING    psiphon country code (valid values: [AT BE BG BR CA CH CZ DE DK EE ES FI FR GB HU IE IN IT JP LV NL NO PL RO RS SE SG SK UA US]) (default: AT)
      --scan              enable warp scanning
      --rtt DURATION      scanner rtt limit (default: 1s)
  -c, --config STRING     path to config file

Country Codes for Psiphon

  • Austria (AT)
  • Belgium (BE)
  • Bulgaria (BG)
  • Brazil (BR)
  • Canada (CA)
  • Switzerland (CH)
  • Czech Republic (CZ)
  • Germany (DE)
  • Denmark (DK)
  • Estonia (EE)
  • Spain (ES)
  • Finland (FI)
  • France (FR)
  • United Kingdom (GB)
  • Hungary (HU)
  • Ireland (IE)
  • India (IN)
  • Italy (IT)
  • Japan (JP)
  • Latvia (LV)
  • Netherlands (NL)
  • Norway (NO)
  • Poland (PL)
  • Romania (RO)
  • Serbia (RS)
  • Sweden (SE)
  • Singapore (SG)
  • Slovakia (SK)
  • Ukraine (UA)
  • United States (US)

Termux

bash <(curl -fsSL https://raw.githubusercontent.com/Ptechgithub/wireguard-go/master/termux.sh)

1

  • اگه حس کردی کانکت نمیشه یا خطا میده دستور rm -rf stuff رو بزن و مجدد warp رو وارد کن.
  • بعد از نصب برای اجرای مجدد فقط کافیه که warp یا usef یا ./warp را وارد کنید .
  • اگر با 1 نصب نشد و خطا گرفتید ابتدا یک بار 3 را بزنید تا Uninstall شود سپس عدد 2 رو انتخاب کنید یعنی Arm.
  • برای نمایش راهنما warp -h را وارد کنید.
  • ای پی و پورت 127.0.0.1:8086پروتکل socks
  • در روش warp به warp plus مقدار account id را وارد میکنید و با این کار هر 20 ثانیه 1 GB به اکانت شما اضافه میشود.
  • برای تغییر لوکیشن با استفاده از سایفون از طریق منو یا به صورت دستی (برای مثال به USA از دستور زیر استفاده کنید)
  • warp --cfon --country US
  • برای اسکن ای پی سالم وارپ از دستور warp --scan استفاده کنید.
  • برای ترکیب (chain) دو کانفیگ برای تغییر لوکیشن از دستور warp --gool استفاده کنید.

Acknowledgements

  • Cloudflare Warp
  • Psiphon
  • All contributors and supporters of this project